| 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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 const google_apis::GetResourceListCallback& callback) OVERRIDE; | 81 const google_apis::GetResourceListCallback& callback) OVERRIDE; |
| 82 virtual google_apis::CancelCallback Search( | 82 virtual google_apis::CancelCallback Search( |
| 83 const std::string& search_query, | 83 const std::string& search_query, |
| 84 const google_apis::GetResourceListCallback& callback) OVERRIDE; | 84 const google_apis::GetResourceListCallback& callback) OVERRIDE; |
| 85 virtual google_apis::CancelCallback SearchByTitle( | 85 virtual google_apis::CancelCallback SearchByTitle( |
| 86 const std::string& title, | 86 const std::string& title, |
| 87 const std::string& directory_resource_id, | 87 const std::string& directory_resource_id, |
| 88 const google_apis::GetResourceListCallback& callback) OVERRIDE; | 88 const google_apis::GetResourceListCallback& callback) OVERRIDE; |
| 89 virtual google_apis::CancelCallback GetChangeList( | 89 virtual google_apis::CancelCallback GetChangeList( |
| 90 int64 start_changestamp, | 90 int64 start_changestamp, |
| 91 const google_apis::GetResourceListCallback& callback) OVERRIDE; | 91 const google_apis::ChangeListCallback& callback) OVERRIDE; |
| 92 virtual google_apis::CancelCallback GetRemainingChangeList( | 92 virtual google_apis::CancelCallback GetRemainingChangeList( |
| 93 const GURL& next_link, | 93 const GURL& next_link, |
| 94 const google_apis::GetResourceListCallback& 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::GetResourceListCallback& callback) OVERRIDE; | 97 const google_apis::GetResourceListCallback& callback) OVERRIDE; |
| 98 virtual google_apis::CancelCallback GetResourceEntry( | 98 virtual google_apis::CancelCallback GetResourceEntry( |
| 99 const std::string& resource_id, | 99 const std::string& resource_id, |
| 100 const google_apis::GetResourceEntryCallback& callback) OVERRIDE; | 100 const google_apis::GetResourceEntryCallback& 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::GetShareUrlCallback& callback) OVERRIDE; |
| (...skipping 95 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 |