| 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_CHROMEOS_GDATA_DRIVE_SERVICE_INTERFACE_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_GDATA_DRIVE_SERVICE_INTERFACE_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_GDATA_DRIVE_SERVICE_INTERFACE_H_ | 6 #define CHROME_BROWSER_CHROMEOS_GDATA_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/InitiateUploadParams/ResulmeUploadParams | 12 // DownloadActionCallback/InitiateUploadParams/ResulmeUploadParams |
| 13 #include "chrome/browser/chromeos/gdata/gdata_operations.h" | 13 #include "chrome/browser/google_apis/gdata_operations.h" |
| 14 #include "chrome/browser/google_apis/operations_base.h" | 14 #include "chrome/browser/google_apis/operations_base.h" |
| 15 | 15 |
| 16 class Profile; | 16 class Profile; |
| 17 | 17 |
| 18 namespace gdata { | 18 namespace gdata { |
| 19 | 19 |
| 20 class OperationRegistry; | 20 class OperationRegistry; |
| 21 | 21 |
| 22 // Document export format. | 22 // Document export format. |
| 23 enum DocumentExportFormat { | 23 enum DocumentExportFormat { |
| (...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 213 // Authorizes a Drive app with the id |app_id| to open the given document. | 213 // Authorizes a Drive app with the id |app_id| to open the given document. |
| 214 // Upon completion, invokes |callback| with results on the calling thread. | 214 // Upon completion, invokes |callback| with results on the calling thread. |
| 215 virtual void AuthorizeApp(const GURL& resource_url, | 215 virtual void AuthorizeApp(const GURL& resource_url, |
| 216 const std::string& app_id, | 216 const std::string& app_id, |
| 217 const GetDataCallback& callback) = 0; | 217 const GetDataCallback& callback) = 0; |
| 218 }; | 218 }; |
| 219 | 219 |
| 220 } // namespace gdata | 220 } // namespace gdata |
| 221 | 221 |
| 222 #endif // CHROME_BROWSER_CHROMEOS_GDATA_DRIVE_SERVICE_INTERFACE_H_ | 222 #endif // CHROME_BROWSER_CHROMEOS_GDATA_DRIVE_SERVICE_INTERFACE_H_ |
| OLD | NEW |