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

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

Issue 23714004: Implement GetResourceListInDirectoryByWapi. (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 | « no previous file | chrome/browser/drive/drive_api_service.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_DRIVE_DRIVE_API_SERVICE_H_ 5 #ifndef CHROME_BROWSER_DRIVE_DRIVE_API_SERVICE_H_
6 #define CHROME_BROWSER_DRIVE_DRIVE_API_SERVICE_H_ 6 #define CHROME_BROWSER_DRIVE_DRIVE_API_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 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 const google_apis::UploadRangeCallback& callback, 177 const google_apis::UploadRangeCallback& callback,
178 const google_apis::ProgressCallback& progress_callback) OVERRIDE; 178 const google_apis::ProgressCallback& progress_callback) OVERRIDE;
179 virtual google_apis::CancelCallback GetUploadStatus( 179 virtual google_apis::CancelCallback GetUploadStatus(
180 const GURL& upload_url, 180 const GURL& upload_url,
181 int64 content_length, 181 int64 content_length,
182 const google_apis::UploadRangeCallback& callback) OVERRIDE; 182 const google_apis::UploadRangeCallback& callback) OVERRIDE;
183 virtual google_apis::CancelCallback AuthorizeApp( 183 virtual google_apis::CancelCallback AuthorizeApp(
184 const std::string& resource_id, 184 const std::string& resource_id,
185 const std::string& app_id, 185 const std::string& app_id,
186 const google_apis::AuthorizeAppCallback& callback) OVERRIDE; 186 const google_apis::AuthorizeAppCallback& callback) OVERRIDE;
187 virtual google_apis::CancelCallback GetResourceListInDirectoryByWapi(
188 const std::string& directory_resource_id,
189 const google_apis::GetResourceListCallback& callback) OVERRIDE;
190 virtual google_apis::CancelCallback GetRemainingResourceList(
kinaba 2013/09/02 08:04:44 For consistency, I'd rather like a name ContinueGe
hidehiko 2013/09/02 08:52:04 ContinueGetResourceList is replaced by GetRemainin
191 const GURL& next_url,
192 const google_apis::GetResourceListCallback& callback) OVERRIDE;
187 193
188 private: 194 private:
189 // AuthServiceObserver override. 195 // AuthServiceObserver override.
190 virtual void OnOAuth2RefreshTokenChanged() OVERRIDE; 196 virtual void OnOAuth2RefreshTokenChanged() OVERRIDE;
191 197
192 OAuth2TokenService* oauth2_token_service_; 198 OAuth2TokenService* oauth2_token_service_;
193 net::URLRequestContextGetter* url_request_context_getter_; 199 net::URLRequestContextGetter* url_request_context_getter_;
194 scoped_refptr<base::TaskRunner> blocking_task_runner_; 200 scoped_refptr<base::TaskRunner> blocking_task_runner_;
195 scoped_ptr<google_apis::RequestSender> sender_; 201 scoped_ptr<google_apis::RequestSender> sender_;
196 ObserverList<DriveServiceObserver> observers_; 202 ObserverList<DriveServiceObserver> observers_;
197 google_apis::DriveApiUrlGenerator url_generator_; 203 google_apis::DriveApiUrlGenerator url_generator_;
198 google_apis::GDataWapiUrlGenerator wapi_url_generator_; 204 google_apis::GDataWapiUrlGenerator wapi_url_generator_;
199 const std::string custom_user_agent_; 205 const std::string custom_user_agent_;
200 206
201 DISALLOW_COPY_AND_ASSIGN(DriveAPIService); 207 DISALLOW_COPY_AND_ASSIGN(DriveAPIService);
202 }; 208 };
203 209
204 } // namespace drive 210 } // namespace drive
205 211
206 #endif // CHROME_BROWSER_DRIVE_DRIVE_API_SERVICE_H_ 212 #endif // CHROME_BROWSER_DRIVE_DRIVE_API_SERVICE_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/drive/drive_api_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698