OLD | NEW |
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 Loading... |
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 Loading... |
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_ |
OLD | NEW |