| 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 miscellaneous API functions, which don't belong to | 5 // This file provides miscellaneous API functions, which don't belong to |
| 6 // other files. | 6 // other files. |
| 7 | 7 |
| 8 #ifndef CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_PRIVATE_API_MISC_H_ | 8 #ifndef CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_PRIVATE_API_MISC_H_ |
| 9 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_PRIVATE_API_MISC_H_ | 9 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_PRIVATE_API_MISC_H_ |
| 10 | 10 |
| 11 #include "chrome/browser/chromeos/extensions/file_manager/private_api_base.h" | 11 #include "chrome/browser/chromeos/extensions/file_manager/private_api_base.h" |
| 12 #include "chrome/browser/chromeos/file_manager/zip_file_creator.h" | 12 #include "chrome/browser/chromeos/file_manager/zip_file_creator.h" |
| 13 #include "chrome/browser/google_apis/gdata_errorcode.h" | 13 #include "google_apis/drive/gdata_errorcode.h" |
| 14 | 14 |
| 15 namespace google_apis { | 15 namespace google_apis { |
| 16 class AuthServiceInterface; | 16 class AuthServiceInterface; |
| 17 } | 17 } |
| 18 | 18 |
| 19 namespace extensions { | 19 namespace extensions { |
| 20 | 20 |
| 21 // Implements the chrome.fileBrowserPrivate.logoutUserForReauthentication | 21 // Implements the chrome.fileBrowserPrivate.logoutUserForReauthentication |
| 22 // method. | 22 // method. |
| 23 class FileBrowserPrivateLogoutUserForReauthenticationFunction | 23 class FileBrowserPrivateLogoutUserForReauthenticationFunction |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 135 scoped_ptr<google_apis::AuthServiceInterface> auth_service_; | 135 scoped_ptr<google_apis::AuthServiceInterface> auth_service_; |
| 136 | 136 |
| 137 void OnAccessTokenFetched(google_apis::GDataErrorCode code, | 137 void OnAccessTokenFetched(google_apis::GDataErrorCode code, |
| 138 const std::string& access_token); | 138 const std::string& access_token); |
| 139 | 139 |
| 140 }; | 140 }; |
| 141 | 141 |
| 142 } // namespace extensions | 142 } // namespace extensions |
| 143 | 143 |
| 144 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_PRIVATE_API_MISC_H_ | 144 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_PRIVATE_API_MISC_H_ |
| OLD | NEW |