| 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_CHROMEOS_INTERNET_OPTIONS_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_INTERNET_OPTIONS_HANDLER_H_ |
| 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_INTERNET_OPTIONS_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_INTERNET_OPTIONS_HANDLER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 private: | 44 private: |
| 45 // OptionsPageUIHandler | 45 // OptionsPageUIHandler |
| 46 void GetLocalizedValues(base::DictionaryValue* localized_strings) override; | 46 void GetLocalizedValues(base::DictionaryValue* localized_strings) override; |
| 47 void InitializePage() override; | 47 void InitializePage() override; |
| 48 | 48 |
| 49 // WebUIMessageHandler (from OptionsPageUIHandler) | 49 // WebUIMessageHandler (from OptionsPageUIHandler) |
| 50 void RegisterMessages() override; | 50 void RegisterMessages() override; |
| 51 | 51 |
| 52 // Callbacks to set network state properties. | 52 // Callbacks to set network state properties. |
| 53 void ShowMorePlanInfoCallback(const base::ListValue* args); | 53 void ShowMorePlanInfoCallback(const base::ListValue* args); |
| 54 void SetApnCallback(const base::ListValue* args); | |
| 55 void SetApnProperties(const base::ListValue* args, | |
| 56 const std::string& service_path, | |
| 57 const base::DictionaryValue& shill_properties); | |
| 58 void CarrierStatusCallback(); | 54 void CarrierStatusCallback(); |
| 59 void SetCarrierCallback(const base::ListValue* args); | 55 void SetCarrierCallback(const base::ListValue* args); |
| 60 void SimOperationCallback(const base::ListValue* args); | 56 void SimOperationCallback(const base::ListValue* args); |
| 61 | 57 |
| 62 // networkingPrvate callbacks | 58 // networkingPrvate callbacks |
| 63 void DisableNetworkTypeCallback(const base::ListValue* args); | 59 void DisableNetworkTypeCallback(const base::ListValue* args); |
| 64 void EnableNetworkTypeCallback(const base::ListValue* args); | 60 void EnableNetworkTypeCallback(const base::ListValue* args); |
| 65 void GetManagedPropertiesCallback(const base::ListValue* args); | 61 void GetManagedPropertiesCallback(const base::ListValue* args); |
| 66 void RequestNetworkScanCallback(const base::ListValue* args); | 62 void RequestNetworkScanCallback(const base::ListValue* args); |
| 67 void StartConnectCallback(const base::ListValue* args); | 63 void StartConnectCallback(const base::ListValue* args); |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 138 // of this object. | 134 // of this object. |
| 139 base::WeakPtrFactory<InternetOptionsHandler> weak_factory_; | 135 base::WeakPtrFactory<InternetOptionsHandler> weak_factory_; |
| 140 | 136 |
| 141 DISALLOW_COPY_AND_ASSIGN(InternetOptionsHandler); | 137 DISALLOW_COPY_AND_ASSIGN(InternetOptionsHandler); |
| 142 }; | 138 }; |
| 143 | 139 |
| 144 } // namespace options | 140 } // namespace options |
| 145 } // namespace chromeos | 141 } // namespace chromeos |
| 146 | 142 |
| 147 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_INTERNET_OPTIONS_HANDLER_H_ | 143 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_INTERNET_OPTIONS_HANDLER_H_ |
| OLD | NEW |