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

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

Issue 23684042: Eliminate NetworkManagerChanged (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase 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
« no previous file with comments | « no previous file | ash/system/chromeos/network/tray_network_state_observer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 16 matching lines...) Expand all
27 27
28 protected: 28 protected:
29 virtual ~Delegate() {} 29 virtual ~Delegate() {}
30 }; 30 };
31 31
32 explicit TrayNetworkStateObserver(Delegate* delegate); 32 explicit TrayNetworkStateObserver(Delegate* delegate);
33 33
34 virtual ~TrayNetworkStateObserver(); 34 virtual ~TrayNetworkStateObserver();
35 35
36 // NetworkStateHandlerObserver overrides. 36 // NetworkStateHandlerObserver overrides.
37 virtual void NetworkManagerChanged() OVERRIDE;
38 virtual void NetworkListChanged() OVERRIDE; 37 virtual void NetworkListChanged() OVERRIDE;
39 virtual void DeviceListChanged() OVERRIDE; 38 virtual void DeviceListChanged() OVERRIDE;
40 virtual void DefaultNetworkChanged( 39 virtual void DefaultNetworkChanged(
41 const chromeos::NetworkState* network) OVERRIDE; 40 const chromeos::NetworkState* network) OVERRIDE;
42 virtual void NetworkPropertiesUpdated( 41 virtual void NetworkPropertiesUpdated(
43 const chromeos::NetworkState* network) OVERRIDE; 42 const chromeos::NetworkState* network) OVERRIDE;
44 43
45 private: 44 private:
46 Delegate* delegate_; 45 Delegate* delegate_;
47 46
48 DISALLOW_COPY_AND_ASSIGN(TrayNetworkStateObserver); 47 DISALLOW_COPY_AND_ASSIGN(TrayNetworkStateObserver);
49 }; 48 };
50 49
51 } // namespace ash 50 } // namespace ash
52 } // namespace internal 51 } // namespace internal
53 52
54 #endif // ASH_SYSTEM_CHROMEOS_NETWORK_TRAY_NETWORK_STATE_OBSERVER_H 53 #endif // ASH_SYSTEM_CHROMEOS_NETWORK_TRAY_NETWORK_STATE_OBSERVER_H
OLDNEW
« no previous file with comments | « no previous file | ash/system/chromeos/network/tray_network_state_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698