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_GDATA_WAPI_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_DRIVE_GDATA_WAPI_SERVICE_H_ |
6 #define CHROME_BROWSER_DRIVE_GDATA_WAPI_SERVICE_H_ | 6 #define CHROME_BROWSER_DRIVE_GDATA_WAPI_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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 const std::string& resource_id, | 126 const std::string& resource_id, |
127 const std::string& parent_resource_id, | 127 const std::string& parent_resource_id, |
128 const std::string& new_title, | 128 const std::string& new_title, |
129 const base::Time& last_modified, | 129 const base::Time& last_modified, |
130 const base::Time& last_viewed_by_me, | 130 const base::Time& last_viewed_by_me, |
131 const google_apis::GetResourceEntryCallback& callback) OVERRIDE; | 131 const google_apis::GetResourceEntryCallback& callback) OVERRIDE; |
132 virtual google_apis::CancelCallback RenameResource( | 132 virtual google_apis::CancelCallback RenameResource( |
133 const std::string& resource_id, | 133 const std::string& resource_id, |
134 const std::string& new_title, | 134 const std::string& new_title, |
135 const google_apis::EntryActionCallback& callback) OVERRIDE; | 135 const google_apis::EntryActionCallback& callback) OVERRIDE; |
136 virtual google_apis::CancelCallback TouchResource( | |
137 const std::string& resource_id, | |
138 const base::Time& modified_date, | |
139 const base::Time& last_viewed_by_me_date, | |
140 const google_apis::GetResourceEntryCallback& callback) OVERRIDE; | |
141 virtual google_apis::CancelCallback AddResourceToDirectory( | 136 virtual google_apis::CancelCallback AddResourceToDirectory( |
142 const std::string& parent_resource_id, | 137 const std::string& parent_resource_id, |
143 const std::string& resource_id, | 138 const std::string& resource_id, |
144 const google_apis::EntryActionCallback& callback) OVERRIDE; | 139 const google_apis::EntryActionCallback& callback) OVERRIDE; |
145 virtual google_apis::CancelCallback RemoveResourceFromDirectory( | 140 virtual google_apis::CancelCallback RemoveResourceFromDirectory( |
146 const std::string& parent_resource_id, | 141 const std::string& parent_resource_id, |
147 const std::string& resource_id, | 142 const std::string& resource_id, |
148 const google_apis::EntryActionCallback& callback) OVERRIDE; | 143 const google_apis::EntryActionCallback& callback) OVERRIDE; |
149 virtual google_apis::CancelCallback AddNewDirectory( | 144 virtual google_apis::CancelCallback AddNewDirectory( |
150 const std::string& parent_resource_id, | 145 const std::string& parent_resource_id, |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
199 // reference, as they may outlive this object. | 194 // reference, as they may outlive this object. |
200 const google_apis::GDataWapiUrlGenerator url_generator_; | 195 const google_apis::GDataWapiUrlGenerator url_generator_; |
201 const std::string custom_user_agent_; | 196 const std::string custom_user_agent_; |
202 | 197 |
203 DISALLOW_COPY_AND_ASSIGN(GDataWapiService); | 198 DISALLOW_COPY_AND_ASSIGN(GDataWapiService); |
204 }; | 199 }; |
205 | 200 |
206 } // namespace drive | 201 } // namespace drive |
207 | 202 |
208 #endif // CHROME_BROWSER_DRIVE_GDATA_WAPI_SERVICE_H_ | 203 #endif // CHROME_BROWSER_DRIVE_GDATA_WAPI_SERVICE_H_ |
OLD | NEW |