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

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

Issue 23684042: Eliminate NetworkManagerChanged (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 3 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 | Annotate | Revision Log
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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 // Updates the display of network connection information for the details page 78 // Updates the display of network connection information for the details page
79 // if visible. 79 // if visible.
80 void UpdateConnectionData(const std::string& service_path); 80 void UpdateConnectionData(const std::string& service_path);
81 void UpdateConnectionDataCallback( 81 void UpdateConnectionDataCallback(
82 const std::string& service_path, 82 const std::string& service_path,
83 const base::DictionaryValue& shill_properties); 83 const base::DictionaryValue& shill_properties);
84 // Called when carrier data has been updated to informs the JS. 84 // Called when carrier data has been updated to informs the JS.
85 void UpdateCarrier(); 85 void UpdateCarrier();
86 86
87 // NetworkStateHandlerObserver 87 // NetworkStateHandlerObserver
88 virtual void NetworkManagerChanged() OVERRIDE; 88 virtual void DeviceListChanged() OVERRIDE;
89 virtual void NetworkListChanged() OVERRIDE; 89 virtual void NetworkListChanged() OVERRIDE;
90 virtual void NetworkConnectionStateChanged( 90 virtual void NetworkConnectionStateChanged(
91 const chromeos::NetworkState* network) OVERRIDE; 91 const chromeos::NetworkState* network) OVERRIDE;
92 virtual void NetworkPropertiesUpdated( 92 virtual void NetworkPropertiesUpdated(
93 const chromeos::NetworkState* network) OVERRIDE; 93 const chromeos::NetworkState* network) OVERRIDE;
94 94
95 // content::NotificationObserver (from OptionsPageUIHandler) 95 // content::NotificationObserver (from OptionsPageUIHandler)
96 virtual void Observe(int type, 96 virtual void Observe(int type,
97 const content::NotificationSource& source, 97 const content::NotificationSource& source,
98 const content::NotificationDetails& details) OVERRIDE; 98 const content::NotificationDetails& details) OVERRIDE;
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 // of this object. 153 // of this object.
154 base::WeakPtrFactory<InternetOptionsHandler> weak_factory_; 154 base::WeakPtrFactory<InternetOptionsHandler> weak_factory_;
155 155
156 DISALLOW_COPY_AND_ASSIGN(InternetOptionsHandler); 156 DISALLOW_COPY_AND_ASSIGN(InternetOptionsHandler);
157 }; 157 };
158 158
159 } // namespace options 159 } // namespace options
160 } // namespace chromeos 160 } // namespace chromeos
161 161
162 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_INTERNET_OPTIONS_HANDLER_H_ 162 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_INTERNET_OPTIONS_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698