| 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_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ |
| 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 274 | 274 |
| 275 // Callback for "requestProfilesInfo" message. | 275 // Callback for "requestProfilesInfo" message. |
| 276 void HandleRequestProfilesInfo(const base::ListValue* args); | 276 void HandleRequestProfilesInfo(const base::ListValue* args); |
| 277 | 277 |
| 278 #if !defined(OS_CHROMEOS) | 278 #if !defined(OS_CHROMEOS) |
| 279 // Callback for the "showNetworkProxySettings" message. This will invoke | 279 // Callback for the "showNetworkProxySettings" message. This will invoke |
| 280 // an appropriate dialog for configuring proxy settings. | 280 // an appropriate dialog for configuring proxy settings. |
| 281 void ShowNetworkProxySettings(const base::ListValue* args); | 281 void ShowNetworkProxySettings(const base::ListValue* args); |
| 282 #endif | 282 #endif |
| 283 | 283 |
| 284 #if !defined(USE_NSS) | 284 #if !defined(USE_NSS_CERTS) |
| 285 // Callback for the "showManageSSLCertificates" message. This will invoke | 285 // Callback for the "showManageSSLCertificates" message. This will invoke |
| 286 // an appropriate certificate management action based on the platform. | 286 // an appropriate certificate management action based on the platform. |
| 287 void ShowManageSSLCertificates(const base::ListValue* args); | 287 void ShowManageSSLCertificates(const base::ListValue* args); |
| 288 #endif | 288 #endif |
| 289 | 289 |
| 290 #if defined(ENABLE_SERVICE_DISCOVERY) | 290 #if defined(ENABLE_SERVICE_DISCOVERY) |
| 291 void ShowCloudPrintDevicesPage(const base::ListValue* args); | 291 void ShowCloudPrintDevicesPage(const base::ListValue* args); |
| 292 #endif | 292 #endif |
| 293 | 293 |
| 294 #if defined(ENABLE_PRINT_PREVIEW) | 294 #if defined(ENABLE_PRINT_PREVIEW) |
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 417 | 417 |
| 418 // Used to get WeakPtr to self for use on the UI thread. | 418 // Used to get WeakPtr to self for use on the UI thread. |
| 419 base::WeakPtrFactory<BrowserOptionsHandler> weak_ptr_factory_; | 419 base::WeakPtrFactory<BrowserOptionsHandler> weak_ptr_factory_; |
| 420 | 420 |
| 421 DISALLOW_COPY_AND_ASSIGN(BrowserOptionsHandler); | 421 DISALLOW_COPY_AND_ASSIGN(BrowserOptionsHandler); |
| 422 }; | 422 }; |
| 423 | 423 |
| 424 } // namespace options | 424 } // namespace options |
| 425 | 425 |
| 426 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ | 426 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ |
| OLD | NEW |