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

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

Issue 1017443002: Allow users to add third-party VPNs from the settings page (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@f_3_460428_update_details_dialog
Patch Set: Created 5 years, 9 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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 // Updates the logged in user type. 104 // Updates the logged in user type.
105 void UpdateLoggedInUserType(); 105 void UpdateLoggedInUserType();
106 106
107 // Gets the native window for hosting dialogs, etc. 107 // Gets the native window for hosting dialogs, etc.
108 gfx::NativeWindow GetNativeWindow() const; 108 gfx::NativeWindow GetNativeWindow() const;
109 109
110 // Gets the user PrefService associated with the WebUI. 110 // Gets the user PrefService associated with the WebUI.
111 const PrefService* GetPrefs() const; 111 const PrefService* GetPrefs() const;
112 112
113 // Additional callbacks for managing networks. 113 // Additional callbacks for managing networks.
114 void AddConnection(const base::ListValue* args); 114 void AddVPNConnection(const base::ListValue* args);
115 void AddNonVPNConnection(const base::ListValue* args);
115 void ConfigureNetwork(const base::ListValue* args); 116 void ConfigureNetwork(const base::ListValue* args);
116 void ActivateNetwork(const base::ListValue* args); 117 void ActivateNetwork(const base::ListValue* args);
117 void RemoveNetwork(const base::ListValue* args); 118 void RemoveNetwork(const base::ListValue* args);
118 119
119 // Creates the map of wired networks. 120 // Creates the map of wired networks.
120 base::ListValue* GetWiredList(); 121 base::ListValue* GetWiredList();
121 122
122 // Creates the map of wireless networks. 123 // Creates the map of wireless networks.
123 base::ListValue* GetWirelessList(); 124 base::ListValue* GetWirelessList();
124 125
(...skipping 14 matching lines...) Expand all
139 // of this object. 140 // of this object.
140 base::WeakPtrFactory<InternetOptionsHandler> weak_factory_; 141 base::WeakPtrFactory<InternetOptionsHandler> weak_factory_;
141 142
142 DISALLOW_COPY_AND_ASSIGN(InternetOptionsHandler); 143 DISALLOW_COPY_AND_ASSIGN(InternetOptionsHandler);
143 }; 144 };
144 145
145 } // namespace options 146 } // namespace options
146 } // namespace chromeos 147 } // namespace chromeos
147 148
148 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_INTERNET_OPTIONS_HANDLER_H_ 149 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_INTERNET_OPTIONS_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698