| 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_SERVICE_INTERFACE_H_ | 5 #ifndef CHROME_BROWSER_DRIVE_DRIVE_SERVICE_INTERFACE_H_ |
| 6 #define CHROME_BROWSER_DRIVE_DRIVE_SERVICE_INTERFACE_H_ | 6 #define CHROME_BROWSER_DRIVE_DRIVE_SERVICE_INTERFACE_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "chrome/browser/google_apis/auth_service_interface.h" | 10 #include "google_apis/drive/auth_service_interface.h" |
| 11 #include "chrome/browser/google_apis/base_requests.h" | 11 #include "google_apis/drive/base_requests.h" |
| 12 #include "chrome/browser/google_apis/drive_common_callbacks.h" | 12 #include "google_apis/drive/drive_common_callbacks.h" |
| 13 | 13 |
| 14 namespace base { | 14 namespace base { |
| 15 class Time; | 15 class Time; |
| 16 } | 16 } |
| 17 | 17 |
| 18 namespace drive { | 18 namespace drive { |
| 19 | 19 |
| 20 // Function which converts the given resource ID into the desired format. | 20 // Function which converts the given resource ID into the desired format. |
| 21 typedef base::Callback<std::string( | 21 typedef base::Callback<std::string( |
| 22 const std::string& resource_id)> ResourceIdCanonicalizer; | 22 const std::string& resource_id)> ResourceIdCanonicalizer; |
| (...skipping 362 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 385 // | 385 // |
| 386 // |callback| must not be null. | 386 // |callback| must not be null. |
| 387 virtual google_apis::CancelCallback GetRemainingResourceList( | 387 virtual google_apis::CancelCallback GetRemainingResourceList( |
| 388 const GURL& next_link, | 388 const GURL& next_link, |
| 389 const google_apis::GetResourceListCallback& callback) = 0; | 389 const google_apis::GetResourceListCallback& callback) = 0; |
| 390 }; | 390 }; |
| 391 | 391 |
| 392 } // namespace drive | 392 } // namespace drive |
| 393 | 393 |
| 394 #endif // CHROME_BROWSER_DRIVE_DRIVE_SERVICE_INTERFACE_H_ | 394 #endif // CHROME_BROWSER_DRIVE_DRIVE_SERVICE_INTERFACE_H_ |
| OLD | NEW |