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

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

Issue 371883003: Files.app: Add an private API to get a download URL (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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
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 "chrome/browser/drive/drive_service_interface.h" 9 #include "chrome/browser/drive/drive_service_interface.h"
10 10
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 const google_apis::ChangeListCallback& callback) OVERRIDE; 148 const google_apis::ChangeListCallback& callback) OVERRIDE;
149 virtual google_apis::CancelCallback GetRemainingFileList( 149 virtual google_apis::CancelCallback GetRemainingFileList(
150 const GURL& next_link, 150 const GURL& next_link,
151 const google_apis::FileListCallback& callback) OVERRIDE; 151 const google_apis::FileListCallback& callback) OVERRIDE;
152 virtual google_apis::CancelCallback GetFileResource( 152 virtual google_apis::CancelCallback GetFileResource(
153 const std::string& resource_id, 153 const std::string& resource_id,
154 const google_apis::FileResourceCallback& callback) OVERRIDE; 154 const google_apis::FileResourceCallback& callback) OVERRIDE;
155 virtual google_apis::CancelCallback GetShareUrl( 155 virtual google_apis::CancelCallback GetShareUrl(
156 const std::string& resource_id, 156 const std::string& resource_id,
157 const GURL& embed_origin, 157 const GURL& embed_origin,
158 const google_apis::GetShareUrlCallback& callback) OVERRIDE; 158 const google_apis::GetUrlCallback& callback) OVERRIDE;
159 virtual google_apis::CancelCallback GetAboutResource( 159 virtual google_apis::CancelCallback GetAboutResource(
160 const google_apis::AboutResourceCallback& callback) OVERRIDE; 160 const google_apis::AboutResourceCallback& callback) OVERRIDE;
161 virtual google_apis::CancelCallback GetAppList( 161 virtual google_apis::CancelCallback GetAppList(
162 const google_apis::AppListCallback& callback) OVERRIDE; 162 const google_apis::AppListCallback& callback) OVERRIDE;
163 virtual google_apis::CancelCallback DeleteResource( 163 virtual google_apis::CancelCallback DeleteResource(
164 const std::string& resource_id, 164 const std::string& resource_id,
165 const std::string& etag, 165 const std::string& etag,
166 const google_apis::EntryActionCallback& callback) OVERRIDE; 166 const google_apis::EntryActionCallback& callback) OVERRIDE;
167 virtual google_apis::CancelCallback TrashResource( 167 virtual google_apis::CancelCallback TrashResource(
168 const std::string& resource_id, 168 const std::string& resource_id,
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
348 base::FilePath last_cancelled_file_; 348 base::FilePath last_cancelled_file_;
349 GURL share_url_base_; 349 GURL share_url_base_;
350 std::string app_json_template_; 350 std::string app_json_template_;
351 351
352 DISALLOW_COPY_AND_ASSIGN(FakeDriveService); 352 DISALLOW_COPY_AND_ASSIGN(FakeDriveService);
353 }; 353 };
354 354
355 } // namespace drive 355 } // namespace drive
356 356
357 #endif // CHROME_BROWSER_DRIVE_FAKE_DRIVE_SERVICE_H_ 357 #endif // CHROME_BROWSER_DRIVE_FAKE_DRIVE_SERVICE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698