| OLD | NEW |
| 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_VPN_H | 5 #ifndef ASH_SYSTEM_CHROMEOS_NETWORK_TRAY_VPN_H |
| 6 #define ASH_SYSTEM_CHROMEOS_NETWORK_TRAY_VPN_H | 6 #define ASH_SYSTEM_CHROMEOS_NETWORK_TRAY_VPN_H |
| 7 | 7 |
| 8 #include "ash/system/chromeos/network/tray_network_state_observer.h" | 8 #include "ash/system/chromeos/network/tray_network_state_observer.h" |
| 9 #include "ash/system/tray/system_tray_item.h" | 9 #include "ash/system/tray/system_tray_item.h" |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| 11 | 11 |
| 12 namespace ash { | 12 namespace ash { |
| 13 namespace internal { | |
| 14 | |
| 15 class TrayNetworkStateObserver; | 13 class TrayNetworkStateObserver; |
| 16 | 14 |
| 17 namespace tray { | 15 namespace tray { |
| 18 class NetworkDetailedView; | 16 class NetworkDetailedView; |
| 19 class VpnDefaultView; | 17 class VpnDefaultView; |
| 20 class VpnDetailedView; | 18 class VpnDetailedView; |
| 21 } | 19 } |
| 22 | 20 |
| 23 class TrayVPN : public SystemTrayItem, | 21 class TrayVPN : public SystemTrayItem, |
| 24 public TrayNetworkStateObserver::Delegate { | 22 public TrayNetworkStateObserver::Delegate { |
| (...skipping 18 matching lines...) Expand all Loading... |
| 43 const chromeos::NetworkState* network) OVERRIDE; | 41 const chromeos::NetworkState* network) OVERRIDE; |
| 44 | 42 |
| 45 private: | 43 private: |
| 46 tray::VpnDefaultView* default_; | 44 tray::VpnDefaultView* default_; |
| 47 tray::NetworkDetailedView* detailed_; | 45 tray::NetworkDetailedView* detailed_; |
| 48 scoped_ptr<TrayNetworkStateObserver> network_state_observer_; | 46 scoped_ptr<TrayNetworkStateObserver> network_state_observer_; |
| 49 | 47 |
| 50 DISALLOW_COPY_AND_ASSIGN(TrayVPN); | 48 DISALLOW_COPY_AND_ASSIGN(TrayVPN); |
| 51 }; | 49 }; |
| 52 | 50 |
| 53 } // namespace internal | |
| 54 } // namespace ash | 51 } // namespace ash |
| 55 | 52 |
| 56 #endif // ASH_SYSTEM_CHROMEOS_NETWORK_TRAY_VPN_H | 53 #endif // ASH_SYSTEM_CHROMEOS_NETWORK_TRAY_VPN_H |
| OLD | NEW |