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

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

Issue 2109293002: mash: Convert system tray network item to wm common types (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tweak string Created 4 years, 5 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
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_COMMON_SYSTEM_CHROMEOS_NETWORK_TRAY_NETWORK_STATE_OBSERVER_H_
6 #define ASH_SYSTEM_CHROMEOS_NETWORK_TRAY_NETWORK_STATE_OBSERVER_H 6 #define ASH_COMMON_SYSTEM_CHROMEOS_NETWORK_TRAY_NETWORK_STATE_OBSERVER_H_
7 7
8 #include <string>
9
10 #include "base/compiler_specific.h"
11 #include "base/macros.h" 8 #include "base/macros.h"
12 #include "base/timer/timer.h" 9 #include "base/timer/timer.h"
13 #include "chromeos/network/network_state_handler_observer.h" 10 #include "chromeos/network/network_state_handler_observer.h"
14 11
15 namespace ash { 12 namespace ash {
16 13
17 class TrayNetworkStateObserver : public chromeos::NetworkStateHandlerObserver { 14 class TrayNetworkStateObserver : public chromeos::NetworkStateHandlerObserver {
18 public: 15 public:
19 class Delegate { 16 class Delegate {
20 public: 17 public:
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 int update_frequency_; 51 int update_frequency_;
55 52
56 // Timer used to limit the frequency of NetworkStateChanged updates. 53 // Timer used to limit the frequency of NetworkStateChanged updates.
57 base::OneShotTimer timer_; 54 base::OneShotTimer timer_;
58 55
59 DISALLOW_COPY_AND_ASSIGN(TrayNetworkStateObserver); 56 DISALLOW_COPY_AND_ASSIGN(TrayNetworkStateObserver);
60 }; 57 };
61 58
62 } // namespace ash 59 } // namespace ash
63 60
64 #endif // ASH_SYSTEM_CHROMEOS_NETWORK_TRAY_NETWORK_STATE_OBSERVER_H 61 #endif // ASH_COMMON_SYSTEM_CHROMEOS_NETWORK_TRAY_NETWORK_STATE_OBSERVER_H_
OLDNEW
« no previous file with comments | « ash/common/system/chromeos/network/tray_network.cc ('k') | ash/common/system/chromeos/network/tray_network_state_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698