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

Unified Diff: chrome/browser/chromeos/gdata/drive_file_system_proxy.cc

Issue 10875028: Wire FileSystemOperation::TouchFile to Drive. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase over FSOI -> FSO renaming. Created 8 years, 4 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
Index: chrome/browser/chromeos/gdata/drive_file_system_proxy.cc
diff --git a/chrome/browser/chromeos/gdata/drive_file_system_proxy.cc b/chrome/browser/chromeos/gdata/drive_file_system_proxy.cc
index 5314d3c1432951d300978b1373d3d20c76d76f94..a201a9abed528c6ffe2519f2006a4746ff4c3776 100644
--- a/chrome/browser/chromeos/gdata/drive_file_system_proxy.cc
+++ b/chrome/browser/chromeos/gdata/drive_file_system_proxy.cc
@@ -554,6 +554,19 @@ void DriveFileSystemProxy::NotifyCloseFile(const FileSystemURL& url) {
base::Bind(&EmitDebugLogForCloseFile, file_path));
}
+void DriveFileSystemProxy::TouchFile(
+ const fileapi::FileSystemURL& url,
+ const base::Time& last_access_time,
+ const base::Time& last_modified_time,
+ const FileSystemOperation::StatusCallback& callback) {
+ DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
+
+ // TODO(kinaba,kochi): crbug.com/144369. Support this operations once we have
+ // migrated to the new Drive API.
+ MessageLoopProxy::current()->PostTask(FROM_HERE,
+ base::Bind(callback, base::PLATFORM_FILE_ERROR_INVALID_OPERATION));
+}
+
void DriveFileSystemProxy::CreateSnapshotFile(
const FileSystemURL& file_url,
const FileSystemOperation::SnapshotFileCallback& callback) {
« no previous file with comments | « chrome/browser/chromeos/gdata/drive_file_system_proxy.h ('k') | webkit/chromeos/fileapi/remote_file_system_operation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698