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

Side by Side Diff: chrome/browser/google_apis/gdata_wapi_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_GDATA_WAPI_SERVICE_H_ 5 #ifndef CHROME_BROWSER_GOOGLE_APIS_GDATA_WAPI_SERVICE_H_
6 #define CHROME_BROWSER_GOOGLE_APIS_GDATA_WAPI_SERVICE_H_ 6 #define CHROME_BROWSER_GOOGLE_APIS_GDATA_WAPI_SERVICE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 const GetAboutResourceCallback& callback) OVERRIDE; 92 const GetAboutResourceCallback& callback) OVERRIDE;
93 virtual void GetAppList(const GetAppListCallback& callback) OVERRIDE; 93 virtual void GetAppList(const GetAppListCallback& callback) OVERRIDE;
94 virtual void DeleteResource(const std::string& resource_id, 94 virtual void DeleteResource(const std::string& resource_id,
95 const std::string& etag, 95 const std::string& etag,
96 const EntryActionCallback& callback) OVERRIDE; 96 const EntryActionCallback& callback) OVERRIDE;
97 virtual void DownloadFile( 97 virtual void DownloadFile(
98 const base::FilePath& virtual_path, 98 const base::FilePath& virtual_path,
99 const base::FilePath& local_cache_path, 99 const base::FilePath& local_cache_path,
100 const GURL& download_url, 100 const GURL& download_url,
101 const DownloadActionCallback& download_action_callback, 101 const DownloadActionCallback& download_action_callback,
102 const GetContentCallback& get_content_callback) OVERRIDE; 102 const GetContentCallback& get_content_callback,
103 const ProgressCallback& progress_callback) OVERRIDE;
103 virtual void CopyHostedDocument( 104 virtual void CopyHostedDocument(
104 const std::string& resource_id, 105 const std::string& resource_id,
105 const std::string& new_name, 106 const std::string& new_name,
106 const GetResourceEntryCallback& callback) OVERRIDE; 107 const GetResourceEntryCallback& callback) OVERRIDE;
107 virtual void RenameResource( 108 virtual void RenameResource(
108 const std::string& resource_id, 109 const std::string& resource_id,
109 const std::string& new_name, 110 const std::string& new_name,
110 const EntryActionCallback& callback) OVERRIDE; 111 const EntryActionCallback& callback) OVERRIDE;
111 virtual void AddResourceToDirectory( 112 virtual void AddResourceToDirectory(
112 const std::string& parent_resource_id, 113 const std::string& parent_resource_id,
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 // reference, as they may outlive this object. 174 // reference, as they may outlive this object.
174 const GDataWapiUrlGenerator url_generator_; 175 const GDataWapiUrlGenerator url_generator_;
175 const std::string custom_user_agent_; 176 const std::string custom_user_agent_;
176 177
177 DISALLOW_COPY_AND_ASSIGN(GDataWapiService); 178 DISALLOW_COPY_AND_ASSIGN(GDataWapiService);
178 }; 179 };
179 180
180 } // namespace google_apis 181 } // namespace google_apis
181 182
182 #endif // CHROME_BROWSER_GOOGLE_APIS_GDATA_WAPI_SERVICE_H_ 183 #endif // CHROME_BROWSER_GOOGLE_APIS_GDATA_WAPI_SERVICE_H_
OLDNEW
« no previous file with comments | « chrome/browser/google_apis/fake_drive_service_unittest.cc ('k') | chrome/browser/google_apis/gdata_wapi_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698