| 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_GOOGLE_APIS_DRIVE_API_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_GOOGLE_APIS_DRIVE_API_SERVICE_H_ |
| 6 #define CHROME_BROWSER_GOOGLE_APIS_DRIVE_API_SERVICE_H_ | 6 #define CHROME_BROWSER_GOOGLE_APIS_DRIVE_API_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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 virtual void ClearRefreshToken() OVERRIDE; | 66 virtual void ClearRefreshToken() OVERRIDE; |
| 67 virtual std::string GetRootResourceId() const OVERRIDE; | 67 virtual std::string GetRootResourceId() const OVERRIDE; |
| 68 virtual void GetAllResourceList( | 68 virtual void GetAllResourceList( |
| 69 const GetResourceListCallback& callback) OVERRIDE; | 69 const GetResourceListCallback& callback) OVERRIDE; |
| 70 virtual void GetResourceListInDirectory( | 70 virtual void GetResourceListInDirectory( |
| 71 const std::string& directory_resource_id, | 71 const std::string& directory_resource_id, |
| 72 const GetResourceListCallback& callback) OVERRIDE; | 72 const GetResourceListCallback& callback) OVERRIDE; |
| 73 virtual void Search( | 73 virtual void Search( |
| 74 const std::string& search_query, | 74 const std::string& search_query, |
| 75 const GetResourceListCallback& callback) OVERRIDE; | 75 const GetResourceListCallback& callback) OVERRIDE; |
| 76 virtual void SearchInDirectory( | 76 virtual void SearchByTitle( |
| 77 const std::string& search_query, | 77 const std::string& title, |
| 78 const std::string& directory_resource_id, | 78 const std::string& directory_resource_id, |
| 79 const GetResourceListCallback& callback) OVERRIDE; | 79 const GetResourceListCallback& callback) OVERRIDE; |
| 80 virtual void GetChangeList( | 80 virtual void GetChangeList( |
| 81 int64 start_changestamp, | 81 int64 start_changestamp, |
| 82 const GetResourceListCallback& callback) OVERRIDE; | 82 const GetResourceListCallback& callback) OVERRIDE; |
| 83 virtual void ContinueGetResourceList( | 83 virtual void ContinueGetResourceList( |
| 84 const GURL& override_url, | 84 const GURL& override_url, |
| 85 const GetResourceListCallback& callback) OVERRIDE; | 85 const GetResourceListCallback& callback) OVERRIDE; |
| 86 virtual void GetResourceEntry( | 86 virtual void GetResourceEntry( |
| 87 const std::string& resource_id, | 87 const std::string& resource_id, |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 175 DriveApiUrlGenerator url_generator_; | 175 DriveApiUrlGenerator url_generator_; |
| 176 GDataWapiUrlGenerator wapi_url_generator_; | 176 GDataWapiUrlGenerator wapi_url_generator_; |
| 177 const std::string custom_user_agent_; | 177 const std::string custom_user_agent_; |
| 178 | 178 |
| 179 DISALLOW_COPY_AND_ASSIGN(DriveAPIService); | 179 DISALLOW_COPY_AND_ASSIGN(DriveAPIService); |
| 180 }; | 180 }; |
| 181 | 181 |
| 182 } // namespace google_apis | 182 } // namespace google_apis |
| 183 | 183 |
| 184 #endif // CHROME_BROWSER_GOOGLE_APIS_DRIVE_API_SERVICE_H_ | 184 #endif // CHROME_BROWSER_GOOGLE_APIS_DRIVE_API_SERVICE_H_ |
| OLD | NEW |