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

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

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 #ifndef CHROME_BROWSER_GOOGLE_APIS_DUMMY_DRIVE_SERVICE_H_ 5 #ifndef CHROME_BROWSER_GOOGLE_APIS_DUMMY_DRIVE_SERVICE_H_
6 #define CHROME_BROWSER_GOOGLE_APIS_DUMMY_DRIVE_SERVICE_H_ 6 #define CHROME_BROWSER_GOOGLE_APIS_DUMMY_DRIVE_SERVICE_H_
7 7
8 #include "chrome/browser/google_apis/drive_service_interface.h" 8 #include "chrome/browser/google_apis/drive_service_interface.h"
9 9
10 namespace google_apis { 10 namespace google_apis {
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 const GetAboutResourceCallback& callback) OVERRIDE; 56 const GetAboutResourceCallback& callback) OVERRIDE;
57 virtual void GetAppList(const GetAppListCallback& callback) OVERRIDE; 57 virtual void GetAppList(const GetAppListCallback& callback) OVERRIDE;
58 virtual void DeleteResource(const std::string& resource_id, 58 virtual void DeleteResource(const std::string& resource_id,
59 const std::string& etag, 59 const std::string& etag,
60 const EntryActionCallback& callback) OVERRIDE; 60 const EntryActionCallback& callback) OVERRIDE;
61 virtual void DownloadFile( 61 virtual void DownloadFile(
62 const base::FilePath& virtual_path, 62 const base::FilePath& virtual_path,
63 const base::FilePath& local_cache_path, 63 const base::FilePath& local_cache_path,
64 const GURL& download_url, 64 const GURL& download_url,
65 const DownloadActionCallback& download_action_callback, 65 const DownloadActionCallback& download_action_callback,
66 const GetContentCallback& get_content_callback) OVERRIDE; 66 const GetContentCallback& get_content_callback,
67 const ProgressCallback& progress_callback) OVERRIDE;
67 virtual void CopyHostedDocument( 68 virtual void CopyHostedDocument(
68 const std::string& resource_id, 69 const std::string& resource_id,
69 const std::string& new_name, 70 const std::string& new_name,
70 const GetResourceEntryCallback& callback) OVERRIDE; 71 const GetResourceEntryCallback& callback) OVERRIDE;
71 virtual void RenameResource(const std::string& resource_id, 72 virtual void RenameResource(const std::string& resource_id,
72 const std::string& new_name, 73 const std::string& new_name,
73 const EntryActionCallback& callback) OVERRIDE; 74 const EntryActionCallback& callback) OVERRIDE;
74 virtual void AddResourceToDirectory( 75 virtual void AddResourceToDirectory(
75 const std::string& parent_resource_id, 76 const std::string& parent_resource_id,
76 const std::string& resource_id, 77 const std::string& resource_id,
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 int64 content_length, 116 int64 content_length,
116 const UploadRangeCallback& callback) OVERRIDE; 117 const UploadRangeCallback& callback) OVERRIDE;
117 virtual void AuthorizeApp(const std::string& resource_id, 118 virtual void AuthorizeApp(const std::string& resource_id,
118 const std::string& app_id, 119 const std::string& app_id,
119 const AuthorizeAppCallback& callback) OVERRIDE; 120 const AuthorizeAppCallback& callback) OVERRIDE;
120 }; 121 };
121 122
122 } // namespace google_apis 123 } // namespace google_apis
123 124
124 #endif // CHROME_BROWSER_GOOGLE_APIS_DUMMY_DRIVE_SERVICE_H_ 125 #endif // CHROME_BROWSER_GOOGLE_APIS_DUMMY_DRIVE_SERVICE_H_
OLDNEW
« no previous file with comments | « chrome/browser/google_apis/drive_uploader_unittest.cc ('k') | chrome/browser/google_apis/dummy_drive_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698