| 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_DRIVE_API_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_DRIVE_DRIVE_API_SERVICE_H_ |
| 6 #define CHROME_BROWSER_DRIVE_DRIVE_API_SERVICE_H_ | 6 #define CHROME_BROWSER_DRIVE_DRIVE_API_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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 const GURL& override_url, | 94 const GURL& override_url, |
| 95 const google_apis::GetResourceListCallback& callback) OVERRIDE; | 95 const google_apis::GetResourceListCallback& callback) OVERRIDE; |
| 96 virtual google_apis::CancelCallback GetResourceEntry( | 96 virtual google_apis::CancelCallback GetResourceEntry( |
| 97 const std::string& resource_id, | 97 const std::string& resource_id, |
| 98 const google_apis::GetResourceEntryCallback& callback) OVERRIDE; | 98 const google_apis::GetResourceEntryCallback& callback) OVERRIDE; |
| 99 virtual google_apis::CancelCallback GetShareUrl( | 99 virtual google_apis::CancelCallback GetShareUrl( |
| 100 const std::string& resource_id, | 100 const std::string& resource_id, |
| 101 const GURL& embed_origin, | 101 const GURL& embed_origin, |
| 102 const google_apis::GetShareUrlCallback& callback) OVERRIDE; | 102 const google_apis::GetShareUrlCallback& callback) OVERRIDE; |
| 103 virtual google_apis::CancelCallback GetAboutResource( | 103 virtual google_apis::CancelCallback GetAboutResource( |
| 104 const google_apis::GetAboutResourceCallback& callback) OVERRIDE; | 104 const google_apis::AboutResourceCallback& callback) OVERRIDE; |
| 105 virtual google_apis::CancelCallback GetAppList( | 105 virtual google_apis::CancelCallback GetAppList( |
| 106 const google_apis::GetAppListCallback& callback) OVERRIDE; | 106 const google_apis::AppListCallback& callback) OVERRIDE; |
| 107 virtual google_apis::CancelCallback DeleteResource( | 107 virtual google_apis::CancelCallback DeleteResource( |
| 108 const std::string& resource_id, | 108 const std::string& resource_id, |
| 109 const std::string& etag, | 109 const std::string& etag, |
| 110 const google_apis::EntryActionCallback& callback) OVERRIDE; | 110 const google_apis::EntryActionCallback& callback) OVERRIDE; |
| 111 virtual google_apis::CancelCallback DownloadFile( | 111 virtual google_apis::CancelCallback DownloadFile( |
| 112 const base::FilePath& local_cache_path, | 112 const base::FilePath& local_cache_path, |
| 113 const std::string& resource_id, | 113 const std::string& resource_id, |
| 114 const google_apis::DownloadActionCallback& download_action_callback, | 114 const google_apis::DownloadActionCallback& download_action_callback, |
| 115 const google_apis::GetContentCallback& get_content_callback, | 115 const google_apis::GetContentCallback& get_content_callback, |
| 116 const google_apis::ProgressCallback& progress_callback) OVERRIDE; | 116 const google_apis::ProgressCallback& progress_callback) OVERRIDE; |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 191 google_apis::DriveApiUrlGenerator url_generator_; | 191 google_apis::DriveApiUrlGenerator url_generator_; |
| 192 google_apis::GDataWapiUrlGenerator wapi_url_generator_; | 192 google_apis::GDataWapiUrlGenerator wapi_url_generator_; |
| 193 const std::string custom_user_agent_; | 193 const std::string custom_user_agent_; |
| 194 | 194 |
| 195 DISALLOW_COPY_AND_ASSIGN(DriveAPIService); | 195 DISALLOW_COPY_AND_ASSIGN(DriveAPIService); |
| 196 }; | 196 }; |
| 197 | 197 |
| 198 } // namespace drive | 198 } // namespace drive |
| 199 | 199 |
| 200 #endif // CHROME_BROWSER_DRIVE_DRIVE_API_SERVICE_H_ | 200 #endif // CHROME_BROWSER_DRIVE_DRIVE_API_SERVICE_H_ |
| OLD | NEW |