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

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

Issue 140513008: drive: Allow setting modified/accessed date with AddNewDirectory (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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 #include "chrome/browser/drive/drive_api_util.h" 8 #include "chrome/browser/drive/drive_api_util.h"
9 9
10 using google_apis::AboutResourceCallback; 10 using google_apis::AboutResourceCallback;
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 const EntryActionCallback& callback) { return CancelCallback(); } 143 const EntryActionCallback& callback) { return CancelCallback(); }
144 144
145 CancelCallback DummyDriveService::RemoveResourceFromDirectory( 145 CancelCallback DummyDriveService::RemoveResourceFromDirectory(
146 const std::string& parent_resource_id, 146 const std::string& parent_resource_id,
147 const std::string& resource_id, 147 const std::string& resource_id,
148 const EntryActionCallback& callback) { return CancelCallback(); } 148 const EntryActionCallback& callback) { return CancelCallback(); }
149 149
150 CancelCallback DummyDriveService::AddNewDirectory( 150 CancelCallback DummyDriveService::AddNewDirectory(
151 const std::string& parent_resource_id, 151 const std::string& parent_resource_id,
152 const std::string& directory_title, 152 const std::string& directory_title,
153 const AddNewDirectoryOptions& options,
153 const GetResourceEntryCallback& callback) { return CancelCallback(); } 154 const GetResourceEntryCallback& callback) { return CancelCallback(); }
154 155
155 CancelCallback DummyDriveService::InitiateUploadNewFile( 156 CancelCallback DummyDriveService::InitiateUploadNewFile(
156 const std::string& content_type, 157 const std::string& content_type,
157 int64 content_length, 158 int64 content_length,
158 const std::string& parent_resource_id, 159 const std::string& parent_resource_id,
159 const std::string& title, 160 const std::string& title,
160 const InitiateUploadNewFileOptions& options, 161 const InitiateUploadNewFileOptions& options,
161 const InitiateUploadCallback& callback) { return CancelCallback(); } 162 const InitiateUploadCallback& callback) { return CancelCallback(); }
162 163
(...skipping 30 matching lines...) Expand all
193 194
194 CancelCallback DummyDriveService::GetResourceListInDirectoryByWapi( 195 CancelCallback DummyDriveService::GetResourceListInDirectoryByWapi(
195 const std::string& directory_resource_id, 196 const std::string& directory_resource_id,
196 const GetResourceListCallback& callback) { return CancelCallback(); } 197 const GetResourceListCallback& callback) { return CancelCallback(); }
197 198
198 CancelCallback DummyDriveService::GetRemainingResourceList( 199 CancelCallback DummyDriveService::GetRemainingResourceList(
199 const GURL& next_link, 200 const GURL& next_link,
200 const GetResourceListCallback& callback) { return CancelCallback(); } 201 const GetResourceListCallback& callback) { return CancelCallback(); }
201 202
202 } // namespace drive 203 } // 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