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/extensions/file_manager/zip_file_creator.h" | 12 #include "chrome/browser/chromeos/file_manager/zip_file_creator.h" |
13 | 13 |
14 namespace extensions { | 14 namespace extensions { |
15 | 15 |
16 // Implements the chrome.fileBrowserPrivate.logoutUser method. | 16 // Implements the chrome.fileBrowserPrivate.logoutUser method. |
17 class FileBrowserPrivateLogoutUserFunction : public SyncExtensionFunction { | 17 class FileBrowserPrivateLogoutUserFunction : public SyncExtensionFunction { |
18 public: | 18 public: |
19 DECLARE_EXTENSION_FUNCTION("fileBrowserPrivate.logoutUser", | 19 DECLARE_EXTENSION_FUNCTION("fileBrowserPrivate.logoutUser", |
20 FILEBROWSERPRIVATE_LOGOUTUSER) | 20 FILEBROWSERPRIVATE_LOGOUTUSER) |
21 | 21 |
22 FileBrowserPrivateLogoutUserFunction(); | 22 FileBrowserPrivateLogoutUserFunction(); |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 virtual bool RunImpl() OVERRIDE; | 112 virtual bool RunImpl() OVERRIDE; |
113 void OnInstallComplete(bool success, const std::string& error); | 113 void OnInstallComplete(bool success, const std::string& error); |
114 | 114 |
115 private: | 115 private: |
116 std::string webstore_item_id_; | 116 std::string webstore_item_id_; |
117 }; | 117 }; |
118 | 118 |
119 } // namespace extensions | 119 } // namespace extensions |
120 | 120 |
121 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_PRIVATE_API_MISC_H_ | 121 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_PRIVATE_API_MISC_H_ |
OLD | NEW |