| 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 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 | 119 |
| 120 // Callback for "toggleDeveloperMode" message. | 120 // Callback for "toggleDeveloperMode" message. |
| 121 void HandleToggleDeveloperMode(const base::ListValue* args); | 121 void HandleToggleDeveloperMode(const base::ListValue* args); |
| 122 | 122 |
| 123 // Callback for "launch" message. | 123 // Callback for "launch" message. |
| 124 void HandleLaunchMessage(const base::ListValue* args); | 124 void HandleLaunchMessage(const base::ListValue* args); |
| 125 | 125 |
| 126 // Callback for "repair" message. | 126 // Callback for "repair" message. |
| 127 void HandleRepairMessage(const base::ListValue* args); | 127 void HandleRepairMessage(const base::ListValue* args); |
| 128 | 128 |
| 129 // Callback for "enableErrorCollection" message. | |
| 130 void HandleEnableErrorCollectionMessage(const base::ListValue* args); | |
| 131 | |
| 132 // Callback for "allowOnAllUrls" message. | |
| 133 void HandleAllowOnAllUrlsMessage(const base::ListValue* args); | |
| 134 | |
| 135 // Callback for "options" message. | 129 // Callback for "options" message. |
| 136 void HandleOptionsMessage(const base::ListValue* args); | 130 void HandleOptionsMessage(const base::ListValue* args); |
| 137 | 131 |
| 138 // Callback for "permissions" message. | 132 // Callback for "permissions" message. |
| 139 void HandlePermissionsMessage(const base::ListValue* args); | 133 void HandlePermissionsMessage(const base::ListValue* args); |
| 140 | 134 |
| 141 // Callback for "showButton" message. | |
| 142 void HandleShowButtonMessage(const base::ListValue* args); | |
| 143 | |
| 144 // Callback for "autoupdate" message. | 135 // Callback for "autoupdate" message. |
| 145 void HandleAutoUpdateMessage(const base::ListValue* args); | 136 void HandleAutoUpdateMessage(const base::ListValue* args); |
| 146 | 137 |
| 147 // Callback for the "dismissADTPromo" message. | 138 // Callback for the "dismissADTPromo" message. |
| 148 void HandleDismissADTPromoMessage(const base::ListValue* args); | 139 void HandleDismissADTPromoMessage(const base::ListValue* args); |
| 149 | 140 |
| 150 // Callback for the "showPath" message. | 141 // Callback for the "showPath" message. |
| 151 void HandleShowPath(const base::ListValue* args); | 142 void HandleShowPath(const base::ListValue* args); |
| 152 | 143 |
| 153 // Utility for callbacks that get an extension ID as the sole argument. | 144 // Utility for callbacks that get an extension ID as the sole argument. |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 217 // Whether we found any DISABLE_NOT_VERIFIED extensions and want to kick off | 208 // Whether we found any DISABLE_NOT_VERIFIED extensions and want to kick off |
| 218 // a verification check to try and rescue them. | 209 // a verification check to try and rescue them. |
| 219 bool should_do_verification_check_; | 210 bool should_do_verification_check_; |
| 220 | 211 |
| 221 DISALLOW_COPY_AND_ASSIGN(ExtensionSettingsHandler); | 212 DISALLOW_COPY_AND_ASSIGN(ExtensionSettingsHandler); |
| 222 }; | 213 }; |
| 223 | 214 |
| 224 } // namespace extensions | 215 } // namespace extensions |
| 225 | 216 |
| 226 #endif // CHROME_BROWSER_UI_WEBUI_EXTENSIONS_EXTENSION_SETTINGS_HANDLER_H_ | 217 #endif // CHROME_BROWSER_UI_WEBUI_EXTENSIONS_EXTENSION_SETTINGS_HANDLER_H_ |
| OLD | NEW |