| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 // This file provides Drive specific API functions. | 5 // This file provides Drive specific API functions. |
| 6 | 6 |
| 7 #ifndef CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_PRIVATE_API_DRIVE_H_ | 7 #ifndef CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_PRIVATE_API_DRIVE_H_ |
| 8 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_PRIVATE_API_DRIVE_H_ | 8 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_PRIVATE_API_DRIVE_H_ |
| 9 | 9 |
| 10 #include <string> | 10 #include <string> |
| (...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 233 | 233 |
| 234 void OnGetResourceEntry(drive::FileError error, | 234 void OnGetResourceEntry(drive::FileError error, |
| 235 scoped_ptr<drive::ResourceEntry> entry); | 235 scoped_ptr<drive::ResourceEntry> entry); |
| 236 | 236 |
| 237 // Callback with an |access_token|, called by | 237 // Callback with an |access_token|, called by |
| 238 // drive::DriveReadonlyTokenFetcher. | 238 // drive::DriveReadonlyTokenFetcher. |
| 239 void OnTokenFetched(google_apis::DriveApiErrorCode code, | 239 void OnTokenFetched(google_apis::DriveApiErrorCode code, |
| 240 const std::string& access_token); | 240 const std::string& access_token); |
| 241 | 241 |
| 242 private: | 242 private: |
| 243 std::string download_url_; | 243 GURL download_url_; |
| 244 scoped_ptr<google_apis::AuthService> auth_service_; | 244 scoped_ptr<google_apis::AuthService> auth_service_; |
| 245 }; | 245 }; |
| 246 | 246 |
| 247 } // namespace extensions | 247 } // namespace extensions |
| 248 | 248 |
| 249 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_PRIVATE_API_DRIVE_H_ | 249 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_PRIVATE_API_DRIVE_H_ |
| OLD | NEW |