Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(695)

Side by Side Diff: chrome/browser/ui/webui/options/chromeos/internet_options_handler.h

Issue 1043343002: Use networkingPrivate.startConnect (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@issue_430115_internet_options_cellular
Patch Set: Separate out logic and use last_error Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 // of this object. 135 // of this object.
138 base::WeakPtrFactory<InternetOptionsHandler> weak_factory_; 136 base::WeakPtrFactory<InternetOptionsHandler> weak_factory_;
139 137
140 DISALLOW_COPY_AND_ASSIGN(InternetOptionsHandler); 138 DISALLOW_COPY_AND_ASSIGN(InternetOptionsHandler);
141 }; 139 };
142 140
143 } // namespace options 141 } // namespace options
144 } // namespace chromeos 142 } // namespace chromeos
145 143
146 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_INTERNET_OPTIONS_HANDLER_H_ 144 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_INTERNET_OPTIONS_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698