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

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

Issue 22909041: Refactor GetAboutRequest and GetApplistRequest. (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 | « chrome/browser/drive/fake_drive_service.cc ('k') | chrome/browser/drive/gdata_wapi_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_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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 const GURL& override_url, 90 const GURL& override_url,
91 const google_apis::GetResourceListCallback& callback) OVERRIDE; 91 const google_apis::GetResourceListCallback& callback) OVERRIDE;
92 virtual google_apis::CancelCallback GetResourceEntry( 92 virtual google_apis::CancelCallback GetResourceEntry(
93 const std::string& resource_id, 93 const std::string& resource_id,
94 const google_apis::GetResourceEntryCallback& callback) OVERRIDE; 94 const google_apis::GetResourceEntryCallback& callback) OVERRIDE;
95 virtual google_apis::CancelCallback GetShareUrl( 95 virtual google_apis::CancelCallback GetShareUrl(
96 const std::string& resource_id, 96 const std::string& resource_id,
97 const GURL& embed_origin, 97 const GURL& embed_origin,
98 const google_apis::GetShareUrlCallback& callback) OVERRIDE; 98 const google_apis::GetShareUrlCallback& callback) OVERRIDE;
99 virtual google_apis::CancelCallback GetAboutResource( 99 virtual google_apis::CancelCallback GetAboutResource(
100 const google_apis::GetAboutResourceCallback& callback) OVERRIDE; 100 const google_apis::AboutResourceCallback& callback) OVERRIDE;
101 virtual google_apis::CancelCallback GetAppList( 101 virtual google_apis::CancelCallback GetAppList(
102 const google_apis::GetAppListCallback& callback) OVERRIDE; 102 const google_apis::AppListCallback& callback) OVERRIDE;
103 virtual google_apis::CancelCallback DeleteResource( 103 virtual google_apis::CancelCallback DeleteResource(
104 const std::string& resource_id, 104 const std::string& resource_id,
105 const std::string& etag, 105 const std::string& etag,
106 const google_apis::EntryActionCallback& callback) OVERRIDE; 106 const google_apis::EntryActionCallback& callback) OVERRIDE;
107 virtual google_apis::CancelCallback DownloadFile( 107 virtual google_apis::CancelCallback DownloadFile(
108 const base::FilePath& local_cache_path, 108 const base::FilePath& local_cache_path,
109 const std::string& resource_id, 109 const std::string& resource_id,
110 const google_apis::DownloadActionCallback& download_action_callback, 110 const google_apis::DownloadActionCallback& download_action_callback,
111 const google_apis::GetContentCallback& get_content_callback, 111 const google_apis::GetContentCallback& get_content_callback,
112 const google_apis::ProgressCallback& progress_callback) OVERRIDE; 112 const google_apis::ProgressCallback& progress_callback) OVERRIDE;
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 // reference, as they may outlive this object. 188 // reference, as they may outlive this object.
189 const google_apis::GDataWapiUrlGenerator url_generator_; 189 const google_apis::GDataWapiUrlGenerator url_generator_;
190 const std::string custom_user_agent_; 190 const std::string custom_user_agent_;
191 191
192 DISALLOW_COPY_AND_ASSIGN(GDataWapiService); 192 DISALLOW_COPY_AND_ASSIGN(GDataWapiService);
193 }; 193 };
194 194
195 } // namespace drive 195 } // namespace drive
196 196
197 #endif // CHROME_BROWSER_DRIVE_GDATA_WAPI_SERVICE_H_ 197 #endif // CHROME_BROWSER_DRIVE_GDATA_WAPI_SERVICE_H_
OLDNEW
« no previous file with comments | « chrome/browser/drive/fake_drive_service.cc ('k') | chrome/browser/drive/gdata_wapi_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698