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

Side by Side Diff: chrome/browser/sync_file_system/drive_file_sync_client.h

Issue 12385081: Replace GetAccountMetadata by GetAboutResource in sync_file_system. (Closed) Base URL: http://git.chromium.org/chromium/src.git@b174237_gdata_wapi_get_about_resource_impl4
Patch Set: Created 7 years, 9 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
« no previous file with comments | « no previous file | chrome/browser/sync_file_system/drive_file_sync_client.cc » ('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 #ifndef CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_FILE_SYNC_CLIENT_H_ 5 #ifndef CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_FILE_SYNC_CLIENT_H_
6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_FILE_SYNC_CLIENT_H_ 6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_FILE_SYNC_CLIENT_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 scoped_ptr<google_apis::ResourceEntry> entry); 122 scoped_ptr<google_apis::ResourceEntry> entry);
123 void DidEnsureUniquenessForCreateDirectory( 123 void DidEnsureUniquenessForCreateDirectory(
124 const ResourceIdCallback& callback, 124 const ResourceIdCallback& callback,
125 google_apis::GDataErrorCode error, 125 google_apis::GDataErrorCode error,
126 scoped_ptr<google_apis::ResourceEntry> entry); 126 scoped_ptr<google_apis::ResourceEntry> entry);
127 127
128 void SearchFilesInDirectory(const std::string& directory_resource_id, 128 void SearchFilesInDirectory(const std::string& directory_resource_id,
129 const std::string& search_query, 129 const std::string& search_query,
130 const ResourceListCallback& callback); 130 const ResourceListCallback& callback);
131 131
132 void DidGetAccountMetadata( 132 void DidGetAboutResource(
133 const ChangeStampCallback& callback, 133 const ChangeStampCallback& callback,
134 google_apis::GDataErrorCode error, 134 google_apis::GDataErrorCode error,
135 scoped_ptr<google_apis::AccountMetadata> metadata); 135 scoped_ptr<google_apis::AboutResource> about_resource);
136 136
137 void DidGetResourceList( 137 void DidGetResourceList(
138 const ResourceListCallback& callback, 138 const ResourceListCallback& callback,
139 google_apis::GDataErrorCode error, 139 google_apis::GDataErrorCode error,
140 scoped_ptr<google_apis::ResourceList> resource_list); 140 scoped_ptr<google_apis::ResourceList> resource_list);
141 141
142 void DidGetResourceEntry(const ResourceEntryCallback& callback, 142 void DidGetResourceEntry(const ResourceEntryCallback& callback,
143 google_apis::GDataErrorCode error, 143 google_apis::GDataErrorCode error,
144 scoped_ptr<google_apis::ResourceEntry> entry); 144 scoped_ptr<google_apis::ResourceEntry> entry);
145 145
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 google_apis::GDataWapiUrlGenerator url_generator_; 208 google_apis::GDataWapiUrlGenerator url_generator_;
209 209
210 ObserverList<DriveFileSyncClientObserver> observers_; 210 ObserverList<DriveFileSyncClientObserver> observers_;
211 211
212 DISALLOW_COPY_AND_ASSIGN(DriveFileSyncClient); 212 DISALLOW_COPY_AND_ASSIGN(DriveFileSyncClient);
213 }; 213 };
214 214
215 } // namespace sync_file_system 215 } // namespace sync_file_system
216 216
217 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_FILE_SYNC_CLIENT_H_ 217 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_FILE_SYNC_CLIENT_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/sync_file_system/drive_file_sync_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698