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

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

Issue 13927002: Add callback for upload progress in Drive service and operation layer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 136
137 void DummyDriveService::ResumeUpload( 137 void DummyDriveService::ResumeUpload(
138 UploadMode upload_mode, 138 UploadMode upload_mode,
139 const base::FilePath& drive_file_path, 139 const base::FilePath& drive_file_path,
140 const GURL& upload_url, 140 const GURL& upload_url,
141 int64 start_position, 141 int64 start_position,
142 int64 end_position, 142 int64 end_position,
143 int64 content_length, 143 int64 content_length,
144 const std::string& content_type, 144 const std::string& content_type,
145 const scoped_refptr<net::IOBuffer>& buf, 145 const scoped_refptr<net::IOBuffer>& buf,
146 const UploadRangeCallback& callback) {} 146 const UploadRangeCallback& callback,
147 const ProgressCallback& progress_callback) {}
147 148
148 void DummyDriveService::GetUploadStatus( 149 void DummyDriveService::GetUploadStatus(
149 UploadMode upload_mode, 150 UploadMode upload_mode,
150 const base::FilePath& drive_file_path, 151 const base::FilePath& drive_file_path,
151 const GURL& upload_url, 152 const GURL& upload_url,
152 int64 content_length, 153 int64 content_length,
153 const UploadRangeCallback& callback) {} 154 const UploadRangeCallback& callback) {}
154 155
155 void DummyDriveService::AuthorizeApp(const std::string& resource_id, 156 void DummyDriveService::AuthorizeApp(const std::string& resource_id,
156 const std::string& app_id, 157 const std::string& app_id,
157 const AuthorizeAppCallback& callback) {} 158 const AuthorizeAppCallback& callback) {}
158 159
159 } // namespace google_apis 160 } // 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