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

Unified Diff: webkit/fileapi/syncable/canned_syncable_file_system.h

Issue 11363161: Add CannedSyncableFileSystem::TouchFile for testing (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: namig fix Created 8 years, 1 month 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 | « no previous file | webkit/fileapi/syncable/canned_syncable_file_system.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/fileapi/syncable/canned_syncable_file_system.h
diff --git a/webkit/fileapi/syncable/canned_syncable_file_system.h b/webkit/fileapi/syncable/canned_syncable_file_system.h
index 46fce14a7613021bf6f618fd36377727154f5429..1e5de78660f5e24e83d366299d71920de8847d84 100644
--- a/webkit/fileapi/syncable/canned_syncable_file_system.h
+++ b/webkit/fileapi/syncable/canned_syncable_file_system.h
@@ -100,6 +100,9 @@ class CannedSyncableFileSystem
base::PlatformFileError Move(const FileSystemURL& src_url,
const FileSystemURL& dest_url);
base::PlatformFileError TruncateFile(const FileSystemURL& url, int64 size);
+ base::PlatformFileError TouchFile(const FileSystemURL& url,
+ const base::Time& last_access_time,
+ const base::Time& last_modified_time);
base::PlatformFileError Remove(const FileSystemURL& url, bool recursive);
base::PlatformFileError FileExists(const FileSystemURL& url);
base::PlatformFileError DirectoryExists(const FileSystemURL& url);
@@ -145,6 +148,10 @@ class CannedSyncableFileSystem
void DoTruncateFile(const FileSystemURL& url,
int64 size,
const StatusCallback& callback);
+ void DoTouchFile(const FileSystemURL& url,
+ const base::Time& last_access_time,
+ const base::Time& last_modified_time,
+ const StatusCallback& callback);
void DoRemove(const FileSystemURL& url,
bool recursive,
const StatusCallback& callback);
« no previous file with comments | « no previous file | webkit/fileapi/syncable/canned_syncable_file_system.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698