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_DRIVE_GDATA_WAPI_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_DRIVE_GDATA_WAPI_SERVICE_H_ |
6 #define CHROME_BROWSER_DRIVE_GDATA_WAPI_SERVICE_H_ | 6 #define CHROME_BROWSER_DRIVE_GDATA_WAPI_SERVICE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 virtual google_apis::CancelCallback GetAboutResource( | 93 virtual google_apis::CancelCallback GetAboutResource( |
94 const google_apis::GetAboutResourceCallback& callback) OVERRIDE; | 94 const google_apis::GetAboutResourceCallback& callback) OVERRIDE; |
95 virtual google_apis::CancelCallback GetAppList( | 95 virtual google_apis::CancelCallback GetAppList( |
96 const google_apis::GetAppListCallback& callback) OVERRIDE; | 96 const google_apis::GetAppListCallback& callback) OVERRIDE; |
97 virtual google_apis::CancelCallback DeleteResource( | 97 virtual google_apis::CancelCallback DeleteResource( |
98 const std::string& resource_id, | 98 const std::string& resource_id, |
99 const std::string& etag, | 99 const std::string& etag, |
100 const google_apis::EntryActionCallback& callback) OVERRIDE; | 100 const google_apis::EntryActionCallback& callback) OVERRIDE; |
101 virtual google_apis::CancelCallback DownloadFile( | 101 virtual google_apis::CancelCallback DownloadFile( |
102 const base::FilePath& local_cache_path, | 102 const base::FilePath& local_cache_path, |
103 const GURL& download_url, | 103 const std::string& resource_id, |
104 const google_apis::DownloadActionCallback& download_action_callback, | 104 const google_apis::DownloadActionCallback& download_action_callback, |
105 const google_apis::GetContentCallback& get_content_callback, | 105 const google_apis::GetContentCallback& get_content_callback, |
106 const google_apis::ProgressCallback& progress_callback) OVERRIDE; | 106 const google_apis::ProgressCallback& progress_callback) OVERRIDE; |
107 virtual google_apis::CancelCallback CopyResource( | 107 virtual google_apis::CancelCallback CopyResource( |
108 const std::string& resource_id, | 108 const std::string& resource_id, |
109 const std::string& parent_resource_id, | 109 const std::string& parent_resource_id, |
110 const std::string& new_name, | 110 const std::string& new_name, |
111 const google_apis::GetResourceEntryCallback& callback) OVERRIDE; | 111 const google_apis::GetResourceEntryCallback& callback) OVERRIDE; |
112 virtual google_apis::CancelCallback CopyHostedDocument( | 112 virtual google_apis::CancelCallback CopyHostedDocument( |
113 const std::string& resource_id, | 113 const std::string& resource_id, |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
176 // reference, as they may outlive this object. | 176 // reference, as they may outlive this object. |
177 const google_apis::GDataWapiUrlGenerator url_generator_; | 177 const google_apis::GDataWapiUrlGenerator url_generator_; |
178 const std::string custom_user_agent_; | 178 const std::string custom_user_agent_; |
179 | 179 |
180 DISALLOW_COPY_AND_ASSIGN(GDataWapiService); | 180 DISALLOW_COPY_AND_ASSIGN(GDataWapiService); |
181 }; | 181 }; |
182 | 182 |
183 } // namespace drive | 183 } // namespace drive |
184 | 184 |
185 #endif // CHROME_BROWSER_DRIVE_GDATA_WAPI_SERVICE_H_ | 185 #endif // CHROME_BROWSER_DRIVE_GDATA_WAPI_SERVICE_H_ |
OLD | NEW |