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

Side by Side Diff: chrome/browser/drive/dummy_drive_service.cc

Issue 23591067: Add last_modified to CopyResource and MoveResource. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/drive/dummy_drive_service.h ('k') | chrome/browser/drive/fake_drive_service.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/drive/dummy_drive_service.h" 5 #include "chrome/browser/drive/dummy_drive_service.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 8
9 using google_apis::AboutResourceCallback; 9 using google_apis::AboutResourceCallback;
10 using google_apis::AppListCallback; 10 using google_apis::AppListCallback;
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 const base::FilePath& local_cache_path, 114 const base::FilePath& local_cache_path,
115 const std::string& resource_id, 115 const std::string& resource_id,
116 const DownloadActionCallback& download_action_callback, 116 const DownloadActionCallback& download_action_callback,
117 const GetContentCallback& get_content_callback, 117 const GetContentCallback& get_content_callback,
118 const ProgressCallback& progress_callback) { return CancelCallback(); } 118 const ProgressCallback& progress_callback) { return CancelCallback(); }
119 119
120 CancelCallback DummyDriveService::CopyResource( 120 CancelCallback DummyDriveService::CopyResource(
121 const std::string& resource_id, 121 const std::string& resource_id,
122 const std::string& parent_resource_id, 122 const std::string& parent_resource_id,
123 const std::string& new_title, 123 const std::string& new_title,
124 const base::Time& last_modified,
124 const GetResourceEntryCallback& callback) { return CancelCallback(); } 125 const GetResourceEntryCallback& callback) { return CancelCallback(); }
125 126
126 CancelCallback DummyDriveService::CopyHostedDocument( 127 CancelCallback DummyDriveService::CopyHostedDocument(
127 const std::string& resource_id, 128 const std::string& resource_id,
128 const std::string& new_title, 129 const std::string& new_title,
129 const GetResourceEntryCallback& callback) { return CancelCallback(); } 130 const GetResourceEntryCallback& callback) { return CancelCallback(); }
130 131
131 CancelCallback DummyDriveService::MoveResource( 132 CancelCallback DummyDriveService::MoveResource(
132 const std::string& resource_id, 133 const std::string& resource_id,
133 const std::string& parent_resource_id, 134 const std::string& parent_resource_id,
134 const std::string& new_title, 135 const std::string& new_title,
136 const base::Time& last_modified,
135 const google_apis::GetResourceEntryCallback& callback) { 137 const google_apis::GetResourceEntryCallback& callback) {
136 return CancelCallback(); 138 return CancelCallback();
137 } 139 }
138 140
139 CancelCallback DummyDriveService::RenameResource( 141 CancelCallback DummyDriveService::RenameResource(
140 const std::string& resource_id, 142 const std::string& resource_id,
141 const std::string& new_title, 143 const std::string& new_title,
142 const EntryActionCallback& callback) { return CancelCallback(); } 144 const EntryActionCallback& callback) { return CancelCallback(); }
143 145
144 CancelCallback DummyDriveService::TouchResource( 146 CancelCallback DummyDriveService::TouchResource(
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 200
199 CancelCallback DummyDriveService::GetResourceListInDirectoryByWapi( 201 CancelCallback DummyDriveService::GetResourceListInDirectoryByWapi(
200 const std::string& directory_resource_id, 202 const std::string& directory_resource_id,
201 const GetResourceListCallback& callback) { return CancelCallback(); } 203 const GetResourceListCallback& callback) { return CancelCallback(); }
202 204
203 CancelCallback DummyDriveService::GetRemainingResourceList( 205 CancelCallback DummyDriveService::GetRemainingResourceList(
204 const GURL& next_link, 206 const GURL& next_link,
205 const GetResourceListCallback& callback) { return CancelCallback(); } 207 const GetResourceListCallback& callback) { return CancelCallback(); }
206 208
207 } // namespace drive 209 } // namespace drive
OLDNEW
« no previous file with comments | « chrome/browser/drive/dummy_drive_service.h ('k') | chrome/browser/drive/fake_drive_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698