| 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_UI_WEBUI_EXTENSIONS_EXTENSION_SETTINGS_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_EXTENSIONS_EXTENSION_SETTINGS_HANDLER_H_ |
| 6 #define CHROME_BROWSER_UI_WEBUI_EXTENSIONS_EXTENSION_SETTINGS_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_EXTENSIONS_EXTENSION_SETTINGS_HANDLER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 | 107 |
| 108 // Callback for "toggleDeveloperMode" message. | 108 // Callback for "toggleDeveloperMode" message. |
| 109 void HandleToggleDeveloperMode(const base::ListValue* args); | 109 void HandleToggleDeveloperMode(const base::ListValue* args); |
| 110 | 110 |
| 111 // Callback for "launch" message. | 111 // Callback for "launch" message. |
| 112 void HandleLaunchMessage(const base::ListValue* args); | 112 void HandleLaunchMessage(const base::ListValue* args); |
| 113 | 113 |
| 114 // Callback for "repair" message. | 114 // Callback for "repair" message. |
| 115 void HandleRepairMessage(const base::ListValue* args); | 115 void HandleRepairMessage(const base::ListValue* args); |
| 116 | 116 |
| 117 // Callback for "enableErrorCollection" message. | |
| 118 void HandleEnableErrorCollectionMessage(const base::ListValue* args); | |
| 119 | |
| 120 // Callback for "allowOnAllUrls" message. | |
| 121 void HandleAllowOnAllUrlsMessage(const base::ListValue* args); | |
| 122 | |
| 123 // Callback for "options" message. | 117 // Callback for "options" message. |
| 124 void HandleOptionsMessage(const base::ListValue* args); | 118 void HandleOptionsMessage(const base::ListValue* args); |
| 125 | 119 |
| 126 // Callback for "permissions" message. | 120 // Callback for "permissions" message. |
| 127 void HandlePermissionsMessage(const base::ListValue* args); | 121 void HandlePermissionsMessage(const base::ListValue* args); |
| 128 | 122 |
| 129 // Callback for "showButton" message. | |
| 130 void HandleShowButtonMessage(const base::ListValue* args); | |
| 131 | |
| 132 // Callback for "autoupdate" message. | 123 // Callback for "autoupdate" message. |
| 133 void HandleAutoUpdateMessage(const base::ListValue* args); | 124 void HandleAutoUpdateMessage(const base::ListValue* args); |
| 134 | 125 |
| 135 // Callback for the "dismissADTPromo" message. | 126 // Callback for the "dismissADTPromo" message. |
| 136 void HandleDismissADTPromoMessage(const base::ListValue* args); | 127 void HandleDismissADTPromoMessage(const base::ListValue* args); |
| 137 | 128 |
| 138 // Callback for the "showPath" message. | 129 // Callback for the "showPath" message. |
| 139 void HandleShowPath(const base::ListValue* args); | 130 void HandleShowPath(const base::ListValue* args); |
| 140 | 131 |
| 141 // Utility for callbacks that get an extension ID as the sole argument. | 132 // Utility for callbacks that get an extension ID as the sole argument. |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 199 // Whether we found any DISABLE_NOT_VERIFIED extensions and want to kick off | 190 // Whether we found any DISABLE_NOT_VERIFIED extensions and want to kick off |
| 200 // a verification check to try and rescue them. | 191 // a verification check to try and rescue them. |
| 201 bool should_do_verification_check_; | 192 bool should_do_verification_check_; |
| 202 | 193 |
| 203 DISALLOW_COPY_AND_ASSIGN(ExtensionSettingsHandler); | 194 DISALLOW_COPY_AND_ASSIGN(ExtensionSettingsHandler); |
| 204 }; | 195 }; |
| 205 | 196 |
| 206 } // namespace extensions | 197 } // namespace extensions |
| 207 | 198 |
| 208 #endif // CHROME_BROWSER_UI_WEBUI_EXTENSIONS_EXTENSION_SETTINGS_HANDLER_H_ | 199 #endif // CHROME_BROWSER_UI_WEBUI_EXTENSIONS_EXTENSION_SETTINGS_HANDLER_H_ |
| OLD | NEW |