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

Side by Side Diff: chrome/browser/drive/fake_drive_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/dummy_drive_service.cc ('k') | chrome/browser/drive/fake_drive_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_FAKE_DRIVE_SERVICE_H_ 5 #ifndef CHROME_BROWSER_DRIVE_FAKE_DRIVE_SERVICE_H_
6 #define CHROME_BROWSER_DRIVE_FAKE_DRIVE_SERVICE_H_ 6 #define CHROME_BROWSER_DRIVE_FAKE_DRIVE_SERVICE_H_
7 7
8 #include "base/files/file_path.h" 8 #include "base/files/file_path.h"
9 #include "base/values.h" 9 #include "base/values.h"
10 #include "chrome/browser/drive/drive_service_interface.h" 10 #include "chrome/browser/drive/drive_service_interface.h"
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 const GURL& override_url, 125 const GURL& override_url,
126 const google_apis::GetResourceListCallback& callback) OVERRIDE; 126 const google_apis::GetResourceListCallback& callback) OVERRIDE;
127 virtual google_apis::CancelCallback GetResourceEntry( 127 virtual google_apis::CancelCallback GetResourceEntry(
128 const std::string& resource_id, 128 const std::string& resource_id,
129 const google_apis::GetResourceEntryCallback& callback) OVERRIDE; 129 const google_apis::GetResourceEntryCallback& callback) OVERRIDE;
130 virtual google_apis::CancelCallback GetShareUrl( 130 virtual google_apis::CancelCallback GetShareUrl(
131 const std::string& resource_id, 131 const std::string& resource_id,
132 const GURL& embed_origin, 132 const GURL& embed_origin,
133 const google_apis::GetShareUrlCallback& callback) OVERRIDE; 133 const google_apis::GetShareUrlCallback& callback) OVERRIDE;
134 virtual google_apis::CancelCallback GetAboutResource( 134 virtual google_apis::CancelCallback GetAboutResource(
135 const google_apis::GetAboutResourceCallback& callback) OVERRIDE; 135 const google_apis::AboutResourceCallback& callback) OVERRIDE;
136 virtual google_apis::CancelCallback GetAppList( 136 virtual google_apis::CancelCallback GetAppList(
137 const google_apis::GetAppListCallback& callback) OVERRIDE; 137 const google_apis::AppListCallback& callback) OVERRIDE;
138 virtual google_apis::CancelCallback DeleteResource( 138 virtual google_apis::CancelCallback DeleteResource(
139 const std::string& resource_id, 139 const std::string& resource_id,
140 const std::string& etag, 140 const std::string& etag,
141 const google_apis::EntryActionCallback& callback) OVERRIDE; 141 const google_apis::EntryActionCallback& callback) OVERRIDE;
142 virtual google_apis::CancelCallback DownloadFile( 142 virtual google_apis::CancelCallback DownloadFile(
143 const base::FilePath& local_cache_path, 143 const base::FilePath& local_cache_path,
144 const std::string& resource_id, 144 const std::string& resource_id,
145 const google_apis::DownloadActionCallback& download_action_callback, 145 const google_apis::DownloadActionCallback& download_action_callback,
146 const google_apis::GetContentCallback& get_content_callback, 146 const google_apis::GetContentCallback& get_content_callback,
147 const google_apis::ProgressCallback& progress_callback) OVERRIDE; 147 const google_apis::ProgressCallback& progress_callback) OVERRIDE;
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
294 bool offline_; 294 bool offline_;
295 base::FilePath last_cancelled_file_; 295 base::FilePath last_cancelled_file_;
296 GURL share_url_base_; 296 GURL share_url_base_;
297 297
298 DISALLOW_COPY_AND_ASSIGN(FakeDriveService); 298 DISALLOW_COPY_AND_ASSIGN(FakeDriveService);
299 }; 299 };
300 300
301 } // namespace drive 301 } // namespace drive
302 302
303 #endif // CHROME_BROWSER_DRIVE_FAKE_DRIVE_SERVICE_H_ 303 #endif // CHROME_BROWSER_DRIVE_FAKE_DRIVE_SERVICE_H_
OLDNEW
« no previous file with comments | « chrome/browser/drive/dummy_drive_service.cc ('k') | chrome/browser/drive/fake_drive_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698