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

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

Issue 224113005: Eliminate ash::internal namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 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"
11 #include "chromeos/network/network_state_handler_observer.h" 11 #include "chromeos/network/network_state_handler_observer.h"
12 12
13 namespace ash { 13 namespace ash {
14 namespace internal {
15 14
16 class TrayNetworkStateObserver : public chromeos::NetworkStateHandlerObserver { 15 class TrayNetworkStateObserver : public chromeos::NetworkStateHandlerObserver {
17 public: 16 public:
18 class Delegate { 17 class Delegate {
19 public: 18 public:
20 // Called when the network state may have changed. If |list_changed| is 19 // Called when the network state may have changed. If |list_changed| is
21 // true then the list of networks may have changed. 20 // true then the list of networks may have changed.
22 virtual void NetworkStateChanged(bool list_changed) = 0; 21 virtual void NetworkStateChanged(bool list_changed) = 0;
23 22
24 // Called when the properties for |network| may have been updated. 23 // Called when the properties for |network| may have been updated.
(...skipping 16 matching lines...) Expand all
41 virtual void NetworkPropertiesUpdated( 40 virtual void NetworkPropertiesUpdated(
42 const chromeos::NetworkState* network) OVERRIDE; 41 const chromeos::NetworkState* network) OVERRIDE;
43 42
44 private: 43 private:
45 Delegate* delegate_; 44 Delegate* delegate_;
46 45
47 DISALLOW_COPY_AND_ASSIGN(TrayNetworkStateObserver); 46 DISALLOW_COPY_AND_ASSIGN(TrayNetworkStateObserver);
48 }; 47 };
49 48
50 } // namespace ash 49 } // namespace ash
51 } // namespace internal
52 50
53 #endif // ASH_SYSTEM_CHROMEOS_NETWORK_TRAY_NETWORK_STATE_OBSERVER_H 51 #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