summaryrefslogtreecommitdiffstats
path: root/chromeos/network/network_state.h
diff options
context:
space:
mode:
authorgauravsh@chromium.org <gauravsh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-22 17:22:25 +0000
committergauravsh@chromium.org <gauravsh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-22 17:22:25 +0000
commit96828ec57f67f91b3b1b2269963680501a6de4b9 (patch)
tree945006bfe8b61372ad3b0d4a30b89ef35bacc8e8 /chromeos/network/network_state.h
parenta6025c2e9c4f0f59c3cffb0ec4f9f8116486cdbb (diff)
downloadchromium_src-96828ec57f67f91b3b1b2269963680501a6de4b9.zip
chromium_src-96828ec57f67f91b3b1b2269963680501a6de4b9.tar.gz
chromium_src-96828ec57f67f91b3b1b2269963680501a6de4b9.tar.bz2
Implement new network change notifier that uses NetworkStateHandler
[Reland of https://codereview.chromium.org/11469044/ with rebase over changes to the new network state handler.] This implements the new network change notifier that informs the Chrome network stack of connectivity changes. It's currently behind the --enable-new-network-handlers command line flag. BUG=chromium-os:159647 TEST=unit tests, gmerged on a device and ensured offline->online and online->offline transitions are correctly detected. Review URL: https://chromiumcodereview.appspot.com/11662014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174530 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chromeos/network/network_state.h')
-rw-r--r--chromeos/network/network_state.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/chromeos/network/network_state.h b/chromeos/network/network_state.h
index c5fa66d..30228f8 100644
--- a/chromeos/network/network_state.h
+++ b/chromeos/network/network_state.h
@@ -43,6 +43,7 @@ class CHROMEOS_EXPORT NetworkState : public ManagedState {
private:
friend class NetworkStateHandler;
+ friend class NetworkChangeNotifierChromeosUpdateTest;
// Called by NetworkStateHandler when the ip config changes.
void set_ip_address(const std::string& ip_address) {