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

Side by Side Diff: chromeos/network/network_state_handler_observer.h

Issue 12634019: NetworkChangeNotifierChromeos: Handle IPConfig property changes on the default network (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 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 | 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 CHROMEOS_NETWORK_NETWORK_STATE_HANDLER_OBSERVER_H_ 5 #ifndef CHROMEOS_NETWORK_NETWORK_STATE_HANDLER_OBSERVER_H_
6 #define CHROMEOS_NETWORK_NETWORK_STATE_HANDLER_OBSERVER_H_ 6 #define CHROMEOS_NETWORK_NETWORK_STATE_HANDLER_OBSERVER_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 15 matching lines...) Expand all
26 26
27 // Called when one or more network manager properties changes. 27 // Called when one or more network manager properties changes.
28 virtual void NetworkManagerChanged(); 28 virtual void NetworkManagerChanged();
29 29
30 // The list of networks changed. 30 // The list of networks changed.
31 virtual void NetworkListChanged(); 31 virtual void NetworkListChanged();
32 32
33 // The list of devices changed, or a property changed (e.g. scanning). 33 // The list of devices changed, or a property changed (e.g. scanning).
34 virtual void DeviceListChanged(); 34 virtual void DeviceListChanged();
35 35
36 // The default network changed (includes VPNs) or its connection state 36 // The default network changed (includes VPNs) or one of its properties
37 // changed. |network| will be NULL if there is no longer a default network. 37 // changed. This won't be called if the WiFi signal strength property
38 // changes. If interested in those events, use NetworkPropertiesUpdated()
39 // below.
40 // |network| will be NULL if there is no longer a default network.
38 virtual void DefaultNetworkChanged(const NetworkState* network); 41 virtual void DefaultNetworkChanged(const NetworkState* network);
39 42
40 // The connection state of |network| changed. 43 // The connection state of |network| changed.
41 virtual void NetworkConnectionStateChanged(const NetworkState* network); 44 virtual void NetworkConnectionStateChanged(const NetworkState* network);
42 45
43 // One or more properties of |network| have been updated. Note: this will get 46 // One or more properties of |network| have been updated. Note: this will get
44 // called in *addition* to NetworkConnectionStateChanged() when the 47 // called in *addition* to NetworkConnectionStateChanged() when the
45 // connection state property changes. Use this to track properties like 48 // connection state property changes. Use this to track properties like
46 // wifi strength. 49 // wifi strength.
47 virtual void NetworkPropertiesUpdated(const NetworkState* network); 50 virtual void NetworkPropertiesUpdated(const NetworkState* network);
48 51
49 private: 52 private:
50 DISALLOW_COPY_AND_ASSIGN(NetworkStateHandlerObserver); 53 DISALLOW_COPY_AND_ASSIGN(NetworkStateHandlerObserver);
51 }; 54 };
52 55
53 } // namespace chromeos 56 } // namespace chromeos
54 57
55 #endif // CHROMEOS_NETWORK_NETWORK_STATE_HANDLER_OBSERVER_H_ 58 #endif // CHROMEOS_NETWORK_NETWORK_STATE_HANDLER_OBSERVER_H_
OLDNEW
« no previous file with comments | « chromeos/network/network_state_handler.cc ('k') | chromeos/network/network_state_handler_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698