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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 virtual OperationProgressStatusList GetProgressStatusList() const OVERRIDE; | 59 virtual OperationProgressStatusList GetProgressStatusList() const OVERRIDE; |
60 virtual bool HasAccessToken() const OVERRIDE; | 60 virtual bool HasAccessToken() const OVERRIDE; |
61 virtual bool HasRefreshToken() const OVERRIDE; | 61 virtual bool HasRefreshToken() const OVERRIDE; |
62 virtual void GetResourceList( | 62 virtual void GetResourceList( |
63 const GURL& feed_url, | 63 const GURL& feed_url, |
64 int64 start_changestamp, | 64 int64 start_changestamp, |
65 const std::string& search_query, | 65 const std::string& search_query, |
66 bool shared_with_me, | 66 bool shared_with_me, |
67 const std::string& directory_resource_id, | 67 const std::string& directory_resource_id, |
68 const GetResourceListCallback& callback) OVERRIDE; | 68 const GetResourceListCallback& callback) OVERRIDE; |
69 virtual void GetResourceEntry(const std::string& resource_id, | 69 virtual void GetResourceEntry( |
70 const GetDataCallback& callback) OVERRIDE; | 70 const std::string& resource_id, |
| 71 const GetResourceEntryCallback& callback) OVERRIDE; |
71 virtual void GetAccountMetadata(const GetDataCallback& callback) OVERRIDE; | 72 virtual void GetAccountMetadata(const GetDataCallback& callback) OVERRIDE; |
72 virtual void GetApplicationInfo(const GetDataCallback& callback) OVERRIDE; | 73 virtual void GetApplicationInfo(const GetDataCallback& callback) OVERRIDE; |
73 virtual void DeleteResource(const GURL& edit_url, | 74 virtual void DeleteResource(const GURL& edit_url, |
74 const EntryActionCallback& callback) OVERRIDE; | 75 const EntryActionCallback& callback) OVERRIDE; |
75 virtual void DownloadHostedDocument( | 76 virtual void DownloadHostedDocument( |
76 const FilePath& virtual_path, | 77 const FilePath& virtual_path, |
77 const FilePath& local_cache_path, | 78 const FilePath& local_cache_path, |
78 const GURL& edit_url, | 79 const GURL& edit_url, |
79 DocumentExportFormat format, | 80 DocumentExportFormat format, |
80 const DownloadActionCallback& callback) OVERRIDE; | 81 const DownloadActionCallback& callback) OVERRIDE; |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 // reference, as they may outlive this object. | 135 // reference, as they may outlive this object. |
135 GDataWapiUrlGenerator url_generator_; | 136 GDataWapiUrlGenerator url_generator_; |
136 const std::string custom_user_agent_; | 137 const std::string custom_user_agent_; |
137 | 138 |
138 DISALLOW_COPY_AND_ASSIGN(GDataWapiService); | 139 DISALLOW_COPY_AND_ASSIGN(GDataWapiService); |
139 }; | 140 }; |
140 | 141 |
141 } // namespace google_apis | 142 } // namespace google_apis |
142 | 143 |
143 #endif // CHROME_BROWSER_GOOGLE_APIS_GDATA_WAPI_SERVICE_H_ | 144 #endif // CHROME_BROWSER_GOOGLE_APIS_GDATA_WAPI_SERVICE_H_ |
OLD | NEW |