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/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 virtual google_apis::CancelCallback GetAboutResource( | 89 virtual google_apis::CancelCallback GetAboutResource( |
90 const google_apis::GetAboutResourceCallback& callback) OVERRIDE; | 90 const google_apis::GetAboutResourceCallback& callback) OVERRIDE; |
91 virtual google_apis::CancelCallback GetAppList( | 91 virtual google_apis::CancelCallback GetAppList( |
92 const google_apis::GetAppListCallback& callback) OVERRIDE; | 92 const google_apis::GetAppListCallback& callback) OVERRIDE; |
93 virtual google_apis::CancelCallback DeleteResource( | 93 virtual google_apis::CancelCallback DeleteResource( |
94 const std::string& resource_id, | 94 const std::string& resource_id, |
95 const std::string& etag, | 95 const std::string& etag, |
96 const google_apis::EntryActionCallback& callback) OVERRIDE; | 96 const google_apis::EntryActionCallback& callback) OVERRIDE; |
97 virtual google_apis::CancelCallback DownloadFile( | 97 virtual google_apis::CancelCallback DownloadFile( |
98 const base::FilePath& local_cache_path, | 98 const base::FilePath& local_cache_path, |
99 const GURL& download_url, | 99 const std::string& resource_id, |
100 const google_apis::DownloadActionCallback& download_action_callback, | 100 const google_apis::DownloadActionCallback& download_action_callback, |
101 const google_apis::GetContentCallback& get_content_callback, | 101 const google_apis::GetContentCallback& get_content_callback, |
102 const google_apis::ProgressCallback& progress_callback) OVERRIDE; | 102 const google_apis::ProgressCallback& progress_callback) OVERRIDE; |
103 virtual google_apis::CancelCallback CopyResource( | 103 virtual google_apis::CancelCallback CopyResource( |
104 const std::string& resource_id, | 104 const std::string& resource_id, |
105 const std::string& parent_resource_id, | 105 const std::string& parent_resource_id, |
106 const std::string& new_name, | 106 const std::string& new_name, |
107 const google_apis::GetResourceEntryCallback& callback) OVERRIDE; | 107 const google_apis::GetResourceEntryCallback& callback) OVERRIDE; |
108 virtual google_apis::CancelCallback CopyHostedDocument( | 108 virtual google_apis::CancelCallback CopyHostedDocument( |
109 const std::string& resource_id, | 109 const std::string& resource_id, |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
171 // reference, as they may outlive this object. | 171 // reference, as they may outlive this object. |
172 const google_apis::GDataWapiUrlGenerator url_generator_; | 172 const google_apis::GDataWapiUrlGenerator url_generator_; |
173 const std::string custom_user_agent_; | 173 const std::string custom_user_agent_; |
174 | 174 |
175 DISALLOW_COPY_AND_ASSIGN(GDataWapiService); | 175 DISALLOW_COPY_AND_ASSIGN(GDataWapiService); |
176 }; | 176 }; |
177 | 177 |
178 } // namespace drive | 178 } // namespace drive |
179 | 179 |
180 #endif // CHROME_BROWSER_DRIVE_GDATA_WAPI_SERVICE_H_ | 180 #endif // CHROME_BROWSER_DRIVE_GDATA_WAPI_SERVICE_H_ |
OLD | NEW |