| 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 google_apis::ChangeListCallback& callback) OVERRIDE; | 94 const google_apis::ChangeListCallback& callback) OVERRIDE; |
| 95 virtual google_apis::CancelCallback GetRemainingFileList( | 95 virtual google_apis::CancelCallback GetRemainingFileList( |
| 96 const GURL& next_link, | 96 const GURL& next_link, |
| 97 const google_apis::FileListCallback& callback) OVERRIDE; | 97 const google_apis::FileListCallback& callback) OVERRIDE; |
| 98 virtual google_apis::CancelCallback GetFileResource( | 98 virtual google_apis::CancelCallback GetFileResource( |
| 99 const std::string& resource_id, | 99 const std::string& resource_id, |
| 100 const google_apis::FileResourceCallback& callback) OVERRIDE; | 100 const google_apis::FileResourceCallback& callback) OVERRIDE; |
| 101 virtual google_apis::CancelCallback GetShareUrl( | 101 virtual google_apis::CancelCallback GetShareUrl( |
| 102 const std::string& resource_id, | 102 const std::string& resource_id, |
| 103 const GURL& embed_origin, | 103 const GURL& embed_origin, |
| 104 const google_apis::GetShareUrlCallback& callback) OVERRIDE; | 104 const google_apis::GetUrlCallback& callback) OVERRIDE; |
| 105 virtual google_apis::CancelCallback GetAboutResource( | 105 virtual google_apis::CancelCallback GetAboutResource( |
| 106 const google_apis::AboutResourceCallback& callback) OVERRIDE; | 106 const google_apis::AboutResourceCallback& callback) OVERRIDE; |
| 107 virtual google_apis::CancelCallback GetAppList( | 107 virtual google_apis::CancelCallback GetAppList( |
| 108 const google_apis::AppListCallback& callback) OVERRIDE; | 108 const google_apis::AppListCallback& callback) OVERRIDE; |
| 109 virtual google_apis::CancelCallback DeleteResource( | 109 virtual google_apis::CancelCallback DeleteResource( |
| 110 const std::string& resource_id, | 110 const std::string& resource_id, |
| 111 const std::string& etag, | 111 const std::string& etag, |
| 112 const google_apis::EntryActionCallback& callback) OVERRIDE; | 112 const google_apis::EntryActionCallback& callback) OVERRIDE; |
| 113 virtual google_apis::CancelCallback TrashResource( | 113 virtual google_apis::CancelCallback TrashResource( |
| 114 const std::string& resource_id, | 114 const std::string& resource_id, |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 200 google_apis::DriveApiUrlGenerator url_generator_; | 200 google_apis::DriveApiUrlGenerator url_generator_; |
| 201 google_apis::GDataWapiUrlGenerator wapi_url_generator_; | 201 google_apis::GDataWapiUrlGenerator wapi_url_generator_; |
| 202 const std::string custom_user_agent_; | 202 const std::string custom_user_agent_; |
| 203 | 203 |
| 204 DISALLOW_COPY_AND_ASSIGN(DriveAPIService); | 204 DISALLOW_COPY_AND_ASSIGN(DriveAPIService); |
| 205 }; | 205 }; |
| 206 | 206 |
| 207 } // namespace drive | 207 } // namespace drive |
| 208 | 208 |
| 209 #endif // CHROME_BROWSER_DRIVE_DRIVE_API_SERVICE_H_ | 209 #endif // CHROME_BROWSER_DRIVE_DRIVE_API_SERVICE_H_ |
| OLD | NEW |