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

Unified Diff: webkit/fileapi/file_system_operation.h

Issue 3417018: Adding a TouchFile() operation. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 3 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 | « chrome/common/render_messages_internal.h ('k') | webkit/fileapi/file_system_operation.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/fileapi/file_system_operation.h
===================================================================
--- webkit/fileapi/file_system_operation.h (revision 60236)
+++ webkit/fileapi/file_system_operation.h (working copy)
@@ -15,6 +15,10 @@
#include "base/scoped_callback_factory.h"
#include "base/scoped_ptr.h"
+namespace base {
+class Time;
+}
+
namespace fileapi {
class FileSystemCallbackDispatcher;
@@ -55,6 +59,10 @@
void Remove(const FilePath& path);
+ void TouchFile(const FilePath& path,
+ const base::Time& last_access_time,
+ const base::Time& last_modified_time);
+
protected:
// Proxy for calling file_util_proxy methods.
scoped_refptr<base::MessageLoopProxy> proxy_;
@@ -84,6 +92,8 @@
base::PlatformFileError rv,
const std::vector<base::file_util_proxy::Entry>& entries);
+ void DidTouchFile(base::PlatformFileError rv);
+
scoped_ptr<FileSystemCallbackDispatcher> dispatcher_;
base::ScopedCallbackFactory<FileSystemOperation> callback_factory_;
« no previous file with comments | « chrome/common/render_messages_internal.h ('k') | webkit/fileapi/file_system_operation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698