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

Side by Side Diff: ash/system/chromeos/network/tray_network_state_observer.h

Issue 12210137: Revert 181896 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 10 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 ASH_SYSTEM_CHROMEOS_NETWORK_TRAY_NETWORK_STATE_OBSERVER_H 5 #ifndef ASH_SYSTEM_CHROMEOS_NETWORK_TRAY_NETWORK_STATE_OBSERVER_H
6 #define ASH_SYSTEM_CHROMEOS_NETWORK_TRAY_NETWORK_STATE_OBSERVER_H 6 #define ASH_SYSTEM_CHROMEOS_NETWORK_TRAY_NETWORK_STATE_OBSERVER_H
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 12 matching lines...) Expand all
23 WIFI_UNKNOWN, 23 WIFI_UNKNOWN,
24 }; 24 };
25 25
26 explicit TrayNetworkStateObserver(TrayNetwork* tray); 26 explicit TrayNetworkStateObserver(TrayNetwork* tray);
27 27
28 virtual ~TrayNetworkStateObserver(); 28 virtual ~TrayNetworkStateObserver();
29 29
30 // NetworkStateHandlerObserver overrides. 30 // NetworkStateHandlerObserver overrides.
31 virtual void NetworkManagerChanged() OVERRIDE; 31 virtual void NetworkManagerChanged() OVERRIDE;
32 virtual void NetworkListChanged() OVERRIDE; 32 virtual void NetworkListChanged() OVERRIDE;
33 virtual void DeviceListChanged() OVERRIDE;
34 virtual void DefaultNetworkChanged(
35 const chromeos::NetworkState* network) OVERRIDE;
33 virtual void NetworkPropertiesUpdated( 36 virtual void NetworkPropertiesUpdated(
34 const chromeos::NetworkState* network) OVERRIDE; 37 const chromeos::NetworkState* network) OVERRIDE;
35 38
36 private: 39 private:
37 TrayNetwork* tray_; 40 TrayNetwork* tray_;
38 WifiState wifi_state_; // cache wifi enabled state 41 WifiState wifi_state_; // cache wifi enabled state
39 42
40 DISALLOW_COPY_AND_ASSIGN(TrayNetworkStateObserver); 43 DISALLOW_COPY_AND_ASSIGN(TrayNetworkStateObserver);
41 }; 44 };
42 45
43 } // namespace ash 46 } // namespace ash
44 } // namespace internal 47 } // namespace internal
45 48
46 #endif // ASH_SYSTEM_CHROMEOS_NETWORK_TRAY_NETWORK_STATE_OBSERVER_H 49 #endif // ASH_SYSTEM_CHROMEOS_NETWORK_TRAY_NETWORK_STATE_OBSERVER_H
OLDNEW
« no previous file with comments | « ash/system/chromeos/network/tray_network.cc ('k') | ash/system/chromeos/network/tray_network_state_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698