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

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

Issue 238433003: Provide Shill IP Address to myIpAddress() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase + feedback Created 6 years, 6 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 26 matching lines...) Expand all
37 37
38 // The connection state of |network| changed. 38 // The connection state of |network| changed.
39 virtual void NetworkConnectionStateChanged(const NetworkState* network); 39 virtual void NetworkConnectionStateChanged(const NetworkState* network);
40 40
41 // One or more properties of |network| have been updated. Note: this will get 41 // One or more properties of |network| have been updated. Note: this will get
42 // called in *addition* to NetworkConnectionStateChanged() when the 42 // called in *addition* to NetworkConnectionStateChanged() when the
43 // connection state property changes. Use this to track properties like 43 // connection state property changes. Use this to track properties like
44 // wifi strength. 44 // wifi strength.
45 virtual void NetworkPropertiesUpdated(const NetworkState* network); 45 virtual void NetworkPropertiesUpdated(const NetworkState* network);
46 46
47 // Called just before NetworkStateHandler is destroyed so that observers
48 // can safely stop observing.
49 virtual void IsShuttingDown();
50
47 private: 51 private:
48 DISALLOW_COPY_AND_ASSIGN(NetworkStateHandlerObserver); 52 DISALLOW_COPY_AND_ASSIGN(NetworkStateHandlerObserver);
49 }; 53 };
50 54
51 } // namespace chromeos 55 } // namespace chromeos
52 56
53 #endif // CHROMEOS_NETWORK_NETWORK_STATE_HANDLER_OBSERVER_H_ 57 #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_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698