diff options
| author | Simon Hausmann <simon.hausmann@nokia.com> | 2012-05-25 15:09:11 +0200 |
|---|---|---|
| committer | Simon Hausmann <simon.hausmann@nokia.com> | 2012-05-25 15:09:11 +0200 |
| commit | a89b2ebb8e192c5e8cea21079bda2ee2c0c7dddd (patch) | |
| tree | b7abd9f49ae1d4d2e426a5883bfccd42b8e2ee12 /Source/WebKit/chromium/public/WebFileInfo.h | |
| parent | 8d473cf9743f1d30a16a27114e93bd5af5648d23 (diff) | |
| download | qtwebkit-a89b2ebb8e192c5e8cea21079bda2ee2c0c7dddd.tar.gz | |
Imported WebKit commit eb5c1b8fe4d4b1b90b5137433fc58a91da0e6878 (http://svn.webkit.org/repository/webkit/trunk@118516)
Diffstat (limited to 'Source/WebKit/chromium/public/WebFileInfo.h')
| -rw-r--r-- | Source/WebKit/chromium/public/WebFileInfo.h | 35 |
1 files changed, 2 insertions, 33 deletions
diff --git a/Source/WebKit/chromium/public/WebFileInfo.h b/Source/WebKit/chromium/public/WebFileInfo.h index bf152fe75..a8c1bba70 100644 --- a/Source/WebKit/chromium/public/WebFileInfo.h +++ b/Source/WebKit/chromium/public/WebFileInfo.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2010 Google Inc. All rights reserved. + * Copyright (C) 2012 Google Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are @@ -28,35 +28,4 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#ifndef WebFileInfo_h -#define WebFileInfo_h - -#include "platform/WebString.h" - -namespace WebKit { - -struct WebFileInfo { - // The last modification time of the file, in seconds. - // The value 0.0 means that the time is not set. - double modificationTime; - - // The length of the file in bytes. - // The value -1 means that the length is not set. - long long length; - - enum Type { - TypeUnknown = 0, - TypeFile, - TypeDirectory - }; - - Type type; - - WebString platformPath; - - WebFileInfo() : modificationTime(0.0), length(-1), type(TypeUnknown) { } -}; - -} // namespace WebKit - -#endif +#include "../../../Platform/chromium/public/WebFileInfo.h" |
