Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(793)

Unified Diff: Source/core/fileapi/File.h

Issue 884393002: Upgrade Blink to milliseconds-based last modified filetimes, part 3. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@sof-fileinfo-modtime-in-ms-1
Patch Set: fix fast/storage test Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/bindings/core/v8/custom/V8BlobCustomHelpers.cpp ('k') | Source/core/fileapi/File.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/fileapi/File.h
diff --git a/Source/core/fileapi/File.h b/Source/core/fileapi/File.h
index 0ded88fee3212ab2338fe61896b916c655ccdd8b..28d21352f2378c2843d49e4c3ca016769fa48b2f 100644
--- a/Source/core/fileapi/File.h
+++ b/Source/core/fileapi/File.h
@@ -35,7 +35,7 @@ namespace blink {
class ExceptionState;
class ExecutionContext;
-struct FileMetadata;
+class FileMetadata;
class KURL;
class File final : public Blob {
@@ -132,7 +132,7 @@ public:
const String& webkitRelativePath() const { return m_relativePath; }
// Note that this involves synchronous file operation. Think twice before calling this function.
- void captureSnapshot(long long& snapshotSize, double& snapshotModificationTime) const;
+ void captureSnapshot(long long& snapshotSize, double& snapshotModificationTimeInMS) const;
jsbell 2015/02/03 17:43:45 Nit: this is the only place that is "TimeInMS" rat
sof 2015/02/03 19:46:24 Thanks, made consistent.
// Returns true if this has a valid snapshot metadata (i.e. m_snapshotSize >= 0).
bool hasValidSnapshotMetadata() const { return m_snapshotSize >= 0; }
@@ -172,7 +172,7 @@ private:
// If m_snapshotSize is negative (initialized to -1 by default), the snapshot metadata is invalid and we retrieve the latest metadata synchronously in size(), lastModifiedTime() and slice().
// Otherwise, the snapshot metadata are used directly in those methods.
long long m_snapshotSize;
- const double m_snapshotModificationTime;
+ const double m_snapshotModificationTimeMS;
String m_relativePath;
};
« no previous file with comments | « Source/bindings/core/v8/custom/V8BlobCustomHelpers.cpp ('k') | Source/core/fileapi/File.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698