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

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

Issue 694533007: Add 'setProperties' to InternetOptionsHandler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase + feedback Created 6 years, 1 month 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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 const chromeos::NetworkState* network) override; 94 const chromeos::NetworkState* network) override;
95 virtual void NetworkPropertiesUpdated( 95 virtual void NetworkPropertiesUpdated(
96 const chromeos::NetworkState* network) override; 96 const chromeos::NetworkState* network) override;
97 virtual void DevicePropertiesUpdated( 97 virtual void DevicePropertiesUpdated(
98 const chromeos::DeviceState* device) override; 98 const chromeos::DeviceState* device) override;
99 99
100 // Updates the logged in user type. 100 // Updates the logged in user type.
101 void UpdateLoggedInUserType(); 101 void UpdateLoggedInUserType();
102 102
103 // Additional callbacks to set network state properties. 103 // Additional callbacks to set network state properties.
104 void SetServerHostnameCallback(const base::ListValue* args); 104 void SetPropertiesCallback(const base::ListValue* args);
105 void SetPreferNetworkCallback(const base::ListValue* args);
106 void SetAutoConnectCallback(const base::ListValue* args);
107 void SetIPConfigCallback(const base::ListValue* args); 105 void SetIPConfigCallback(const base::ListValue* args);
108 void SetIPConfigProperties(const base::ListValue* args, 106 void SetIPConfigProperties(const base::ListValue* args,
109 const std::string& service_path, 107 const std::string& service_path,
110 const base::DictionaryValue& shill_properties); 108 const base::DictionaryValue& shill_properties);
111 109
112 // Gets the native window for hosting dialogs, etc. 110 // Gets the native window for hosting dialogs, etc.
113 gfx::NativeWindow GetNativeWindow() const; 111 gfx::NativeWindow GetNativeWindow() const;
114 112
115 // Gets the UI scale factor. 113 // Gets the UI scale factor.
116 float GetScaleFactor() const; 114 float GetScaleFactor() const;
(...skipping 30 matching lines...) Expand all
147 // of this object. 145 // of this object.
148 base::WeakPtrFactory<InternetOptionsHandler> weak_factory_; 146 base::WeakPtrFactory<InternetOptionsHandler> weak_factory_;
149 147
150 DISALLOW_COPY_AND_ASSIGN(InternetOptionsHandler); 148 DISALLOW_COPY_AND_ASSIGN(InternetOptionsHandler);
151 }; 149 };
152 150
153 } // namespace options 151 } // namespace options
154 } // namespace chromeos 152 } // namespace chromeos
155 153
156 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_INTERNET_OPTIONS_HANDLER_H_ 154 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_INTERNET_OPTIONS_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698