| 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_GDATA_WAPI_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_GOOGLE_APIS_GDATA_WAPI_SERVICE_H_ |
| 6 #define CHROME_BROWSER_GOOGLE_APIS_GDATA_WAPI_SERVICE_H_ | 6 #define CHROME_BROWSER_GOOGLE_APIS_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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 virtual void ClearAccessToken() OVERRIDE; | 65 virtual void ClearAccessToken() OVERRIDE; |
| 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 GetResourceList( | 68 virtual void GetResourceList( |
| 69 const GURL& feed_url, | 69 const GURL& feed_url, |
| 70 int64 start_changestamp, | 70 int64 start_changestamp, |
| 71 const std::string& search_query, | 71 const std::string& search_query, |
| 72 bool shared_with_me, | 72 bool shared_with_me, |
| 73 const std::string& directory_resource_id, | 73 const std::string& directory_resource_id, |
| 74 const GetResourceListCallback& callback) OVERRIDE; | 74 const GetResourceListCallback& callback) OVERRIDE; |
| 75 virtual void GetAllResourceList( |
| 76 const GetResourceListCallback& callback) OVERRIDE; |
| 77 virtual void GetResourceListInDirectory( |
| 78 const std::string& directory_resource_id, |
| 79 const GetResourceListCallback& callback) OVERRIDE; |
| 80 virtual void Search( |
| 81 const std::string& search_query, |
| 82 const GetResourceListCallback& callback) OVERRIDE; |
| 83 virtual void SearchInDirectory( |
| 84 const std::string& search_query, |
| 85 const std::string& directory_resource_id, |
| 86 const GetResourceListCallback& callback) OVERRIDE; |
| 87 virtual void GetChangeList( |
| 88 int64 start_changestamp, |
| 89 const GetResourceListCallback& callback) OVERRIDE; |
| 90 virtual void ContinueGetResourceList( |
| 91 const GURL& override_url, |
| 92 const GetResourceListCallback& callback) OVERRIDE; |
| 75 virtual void GetResourceEntry( | 93 virtual void GetResourceEntry( |
| 76 const std::string& resource_id, | 94 const std::string& resource_id, |
| 77 const GetResourceEntryCallback& callback) OVERRIDE; | 95 const GetResourceEntryCallback& callback) OVERRIDE; |
| 78 virtual void GetAccountMetadata( | 96 virtual void GetAccountMetadata( |
| 79 const GetAccountMetadataCallback& callback) OVERRIDE; | 97 const GetAccountMetadataCallback& callback) OVERRIDE; |
| 80 virtual void GetAboutResource( | 98 virtual void GetAboutResource( |
| 81 const GetAboutResourceCallback& callback) OVERRIDE; | 99 const GetAboutResourceCallback& callback) OVERRIDE; |
| 82 virtual void GetAppList(const GetAppListCallback& callback) OVERRIDE; | 100 virtual void GetAppList(const GetAppListCallback& callback) OVERRIDE; |
| 83 virtual void DeleteResource(const std::string& resource_id, | 101 virtual void DeleteResource(const std::string& resource_id, |
| 84 const std::string& etag, | 102 const std::string& etag, |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 161 // reference, as they may outlive this object. | 179 // reference, as they may outlive this object. |
| 162 const GDataWapiUrlGenerator url_generator_; | 180 const GDataWapiUrlGenerator url_generator_; |
| 163 const std::string custom_user_agent_; | 181 const std::string custom_user_agent_; |
| 164 | 182 |
| 165 DISALLOW_COPY_AND_ASSIGN(GDataWapiService); | 183 DISALLOW_COPY_AND_ASSIGN(GDataWapiService); |
| 166 }; | 184 }; |
| 167 | 185 |
| 168 } // namespace google_apis | 186 } // namespace google_apis |
| 169 | 187 |
| 170 #endif // CHROME_BROWSER_GOOGLE_APIS_GDATA_WAPI_SERVICE_H_ | 188 #endif // CHROME_BROWSER_GOOGLE_APIS_GDATA_WAPI_SERVICE_H_ |
| OLD | NEW |