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

Side by Side Diff: chrome/browser/google_apis/dummy_drive_service.cc

Issue 14215003: Add ProgressCallback to DriveServiceInterface::DownloadFile. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 8 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 #include "chrome/browser/google_apis/dummy_drive_service.h" 5 #include "chrome/browser/google_apis/dummy_drive_service.h"
6 6
7 namespace google_apis { 7 namespace google_apis {
8 8
9 DummyDriveService::DummyDriveService() {} 9 DummyDriveService::DummyDriveService() {}
10 10
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 78
79 void DummyDriveService::DeleteResource(const std::string& resource_id, 79 void DummyDriveService::DeleteResource(const std::string& resource_id,
80 const std::string& etag, 80 const std::string& etag,
81 const EntryActionCallback& callback) {} 81 const EntryActionCallback& callback) {}
82 82
83 void DummyDriveService::DownloadFile( 83 void DummyDriveService::DownloadFile(
84 const base::FilePath& virtual_path, 84 const base::FilePath& virtual_path,
85 const base::FilePath& local_cache_path, 85 const base::FilePath& local_cache_path,
86 const GURL& download_url, 86 const GURL& download_url,
87 const DownloadActionCallback& download_action_callback, 87 const DownloadActionCallback& download_action_callback,
88 const GetContentCallback& get_content_callback) {} 88 const GetContentCallback& get_content_callback,
89 const ProgressCallback& progress_callback) {}
89 90
90 void DummyDriveService::CopyHostedDocument( 91 void DummyDriveService::CopyHostedDocument(
91 const std::string& resource_id, 92 const std::string& resource_id,
92 const std::string& new_name, 93 const std::string& new_name,
93 const GetResourceEntryCallback& callback) {} 94 const GetResourceEntryCallback& callback) {}
94 95
95 void DummyDriveService::RenameResource(const std::string& resource_id, 96 void DummyDriveService::RenameResource(const std::string& resource_id,
96 const std::string& new_name, 97 const std::string& new_name,
97 const EntryActionCallback& callback) {} 98 const EntryActionCallback& callback) {}
98 99
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 const base::FilePath& drive_file_path, 145 const base::FilePath& drive_file_path,
145 const GURL& upload_url, 146 const GURL& upload_url,
146 int64 content_length, 147 int64 content_length,
147 const UploadRangeCallback& callback) {} 148 const UploadRangeCallback& callback) {}
148 149
149 void DummyDriveService::AuthorizeApp(const std::string& resource_id, 150 void DummyDriveService::AuthorizeApp(const std::string& resource_id,
150 const std::string& app_id, 151 const std::string& app_id,
151 const AuthorizeAppCallback& callback) {} 152 const AuthorizeAppCallback& callback) {}
152 153
153 } // namespace google_apis 154 } // namespace google_apis
OLDNEW
« no previous file with comments | « chrome/browser/google_apis/dummy_drive_service.h ('k') | chrome/browser/google_apis/fake_drive_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698