| 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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 | 61 |
| 62 // Callbacks to set network state properties. | 62 // Callbacks to set network state properties. |
| 63 void ShowMorePlanInfoCallback(const base::ListValue* args); | 63 void ShowMorePlanInfoCallback(const base::ListValue* args); |
| 64 void SimOperationCallback(const base::ListValue* args); | 64 void SimOperationCallback(const base::ListValue* args); |
| 65 | 65 |
| 66 // Sets details_guid_ for event forwarding. | 66 // Sets details_guid_ for event forwarding. |
| 67 void SetNetworkGuidCallback(const base::ListValue* args); | 67 void SetNetworkGuidCallback(const base::ListValue* args); |
| 68 | 68 |
| 69 // networkingPrvate callbacks | 69 // networkingPrvate callbacks |
| 70 void GetManagedPropertiesCallback(const base::ListValue* args); | 70 void GetManagedPropertiesCallback(const base::ListValue* args); |
| 71 void StartConnectCallback(const base::ListValue* args); | |
| 72 void SetPropertiesCallback(const base::ListValue* args); | |
| 73 | 71 |
| 74 // Updates the list of VPN providers enabled in the primary user's profile. | 72 // Updates the list of VPN providers enabled in the primary user's profile. |
| 75 void UpdateVPNProviders(); | 73 void UpdateVPNProviders(); |
| 76 | 74 |
| 77 // Refreshes the display of network information. | 75 // Refreshes the display of network information. |
| 78 void RefreshNetworkData(); | 76 void RefreshNetworkData(); |
| 79 | 77 |
| 80 // Updates the display of network connection information for the details page | 78 // Updates the display of network connection information for the details page |
| 81 // if visible. | 79 // if visible. |
| 82 void UpdateConnectionData(const std::string& service_path); | 80 void UpdateConnectionData(const std::string& service_path); |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 136 // of this object. | 134 // of this object. |
| 137 base::WeakPtrFactory<InternetOptionsHandler> weak_factory_; | 135 base::WeakPtrFactory<InternetOptionsHandler> weak_factory_; |
| 138 | 136 |
| 139 DISALLOW_COPY_AND_ASSIGN(InternetOptionsHandler); | 137 DISALLOW_COPY_AND_ASSIGN(InternetOptionsHandler); |
| 140 }; | 138 }; |
| 141 | 139 |
| 142 } // namespace options | 140 } // namespace options |
| 143 } // namespace chromeos | 141 } // namespace chromeos |
| 144 | 142 |
| 145 #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 |