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

Side by Side Diff: chrome/browser/drive/gdata_wapi_service.h

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
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 #ifndef CHROME_BROWSER_DRIVE_GDATA_WAPI_SERVICE_H_ 5 #ifndef CHROME_BROWSER_DRIVE_GDATA_WAPI_SERVICE_H_
6 #define CHROME_BROWSER_DRIVE_GDATA_WAPI_SERVICE_H_ 6 #define CHROME_BROWSER_DRIVE_GDATA_WAPI_SERVICE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 virtual google_apis::CancelCallback DownloadFile( 109 virtual google_apis::CancelCallback DownloadFile(
110 const base::FilePath& local_cache_path, 110 const base::FilePath& local_cache_path,
111 const std::string& resource_id, 111 const std::string& resource_id,
112 const google_apis::DownloadActionCallback& download_action_callback, 112 const google_apis::DownloadActionCallback& download_action_callback,
113 const google_apis::GetContentCallback& get_content_callback, 113 const google_apis::GetContentCallback& get_content_callback,
114 const google_apis::ProgressCallback& progress_callback) OVERRIDE; 114 const google_apis::ProgressCallback& progress_callback) OVERRIDE;
115 virtual google_apis::CancelCallback CopyResource( 115 virtual google_apis::CancelCallback CopyResource(
116 const std::string& resource_id, 116 const std::string& resource_id,
117 const std::string& parent_resource_id, 117 const std::string& parent_resource_id,
118 const std::string& new_title, 118 const std::string& new_title,
119 const base::Time& last_modified,
119 const google_apis::GetResourceEntryCallback& callback) OVERRIDE; 120 const google_apis::GetResourceEntryCallback& callback) OVERRIDE;
120 virtual google_apis::CancelCallback CopyHostedDocument( 121 virtual google_apis::CancelCallback CopyHostedDocument(
121 const std::string& resource_id, 122 const std::string& resource_id,
122 const std::string& new_title, 123 const std::string& new_title,
123 const google_apis::GetResourceEntryCallback& callback) OVERRIDE; 124 const google_apis::GetResourceEntryCallback& callback) OVERRIDE;
124 virtual google_apis::CancelCallback MoveResource( 125 virtual google_apis::CancelCallback MoveResource(
125 const std::string& resource_id, 126 const std::string& resource_id,
126 const std::string& parent_resource_id, 127 const std::string& parent_resource_id,
127 const std::string& new_title, 128 const std::string& new_title,
129 const base::Time& last_modified,
128 const google_apis::GetResourceEntryCallback& callback) OVERRIDE; 130 const google_apis::GetResourceEntryCallback& callback) OVERRIDE;
129 virtual google_apis::CancelCallback RenameResource( 131 virtual google_apis::CancelCallback RenameResource(
130 const std::string& resource_id, 132 const std::string& resource_id,
131 const std::string& new_title, 133 const std::string& new_title,
132 const google_apis::EntryActionCallback& callback) OVERRIDE; 134 const google_apis::EntryActionCallback& callback) OVERRIDE;
133 virtual google_apis::CancelCallback TouchResource( 135 virtual google_apis::CancelCallback TouchResource(
134 const std::string& resource_id, 136 const std::string& resource_id,
135 const base::Time& modified_date, 137 const base::Time& modified_date,
136 const base::Time& last_viewed_by_me_date, 138 const base::Time& last_viewed_by_me_date,
137 const google_apis::GetResourceEntryCallback& callback) OVERRIDE; 139 const google_apis::GetResourceEntryCallback& callback) OVERRIDE;
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 // reference, as they may outlive this object. 198 // reference, as they may outlive this object.
197 const google_apis::GDataWapiUrlGenerator url_generator_; 199 const google_apis::GDataWapiUrlGenerator url_generator_;
198 const std::string custom_user_agent_; 200 const std::string custom_user_agent_;
199 201
200 DISALLOW_COPY_AND_ASSIGN(GDataWapiService); 202 DISALLOW_COPY_AND_ASSIGN(GDataWapiService);
201 }; 203 };
202 204
203 } // namespace drive 205 } // namespace drive
204 206
205 #endif // CHROME_BROWSER_DRIVE_GDATA_WAPI_SERVICE_H_ 207 #endif // CHROME_BROWSER_DRIVE_GDATA_WAPI_SERVICE_H_
OLDNEW
« no previous file with comments | « chrome/browser/drive/fake_drive_service_unittest.cc ('k') | chrome/browser/drive/gdata_wapi_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698