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_SERVICE_INTERFACE_H_ | 5 #ifndef CHROME_BROWSER_GOOGLE_APIS_DRIVE_SERVICE_INTERFACE_H_ |
6 #define CHROME_BROWSER_GOOGLE_APIS_DRIVE_SERVICE_INTERFACE_H_ | 6 #define CHROME_BROWSER_GOOGLE_APIS_DRIVE_SERVICE_INTERFACE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 // TODO(kochi): Further split gdata_operations.h and include only necessary | 10 // TODO(kochi): Further split gdata_operations.h and include only necessary |
11 // headers. http://crbug.com/141469 | 11 // headers. http://crbug.com/141469 |
12 // DownloadActionCallback | 12 // DownloadActionCallback |
13 #include "chrome/browser/google_apis/base_operations.h" | 13 #include "chrome/browser/google_apis/base_requests.h" |
14 | 14 |
15 class Profile; | 15 class Profile; |
16 | 16 |
17 namespace google_apis { | 17 namespace google_apis { |
18 | 18 |
19 class AboutResource; | 19 class AboutResource; |
20 class AppList; | 20 class AppList; |
21 class ResourceEntry; | 21 class ResourceEntry; |
22 class ResourceList; | 22 class ResourceList; |
23 | 23 |
(...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
355 // Upon completion, invokes |callback| with the link to open the file with | 355 // Upon completion, invokes |callback| with the link to open the file with |
356 // the provided app. |callback| must not be null. | 356 // the provided app. |callback| must not be null. |
357 virtual void AuthorizeApp(const std::string& resource_id, | 357 virtual void AuthorizeApp(const std::string& resource_id, |
358 const std::string& app_id, | 358 const std::string& app_id, |
359 const AuthorizeAppCallback& callback) = 0; | 359 const AuthorizeAppCallback& callback) = 0; |
360 }; | 360 }; |
361 | 361 |
362 } // namespace google_apis | 362 } // namespace google_apis |
363 | 363 |
364 #endif // CHROME_BROWSER_GOOGLE_APIS_DRIVE_SERVICE_INTERFACE_H_ | 364 #endif // CHROME_BROWSER_GOOGLE_APIS_DRIVE_SERVICE_INTERFACE_H_ |
OLD | NEW |