OLD | NEW |
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 Loading... |
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 Loading... |
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_ |
OLD | NEW |