| 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 #include "ash/system/chromeos/network/tray_vpn.h" | 5 #include "ash/system/chromeos/network/tray_vpn.h" |
| 6 | 6 |
| 7 #include "ash/metrics/user_metrics_recorder.h" | 7 #include "ash/metrics/user_metrics_recorder.h" |
| 8 #include "ash/shell.h" | 8 #include "ash/shell.h" |
| 9 #include "ash/system/chromeos/network/network_icon_animation.h" | 9 #include "ash/system/chromeos/network/network_icon_animation.h" |
| 10 #include "ash/system/chromeos/network/network_state_list_detailed_view.h" | 10 #include "ash/system/chromeos/network/network_state_list_detailed_view.h" |
| 11 #include "ash/system/tray/system_tray.h" | 11 #include "ash/system/tray/system_tray.h" |
| 12 #include "ash/system/tray/system_tray_delegate.h" | 12 #include "ash/system/tray/system_tray_delegate.h" |
| 13 #include "ash/system/tray/tray_constants.h" | 13 #include "ash/system/tray/tray_constants.h" |
| 14 #include "ash/system/tray/tray_item_more.h" | 14 #include "ash/system/tray/tray_item_more.h" |
| 15 #include "ash/system/tray/tray_popup_label_button.h" | 15 #include "ash/system/tray/tray_popup_label_button.h" |
| 16 #include "chromeos/network/network_state.h" | 16 #include "chromeos/network/network_state.h" |
| 17 #include "chromeos/network/network_state_handler.h" | 17 #include "chromeos/network/network_state_handler.h" |
| 18 #include "chromeos/network/shill_property_util.h" | |
| 19 #include "grit/ash_strings.h" | 18 #include "grit/ash_strings.h" |
| 20 #include "third_party/cros_system_api/dbus/service_constants.h" | 19 #include "third_party/cros_system_api/dbus/service_constants.h" |
| 21 #include "ui/base/l10n/l10n_util.h" | 20 #include "ui/base/l10n/l10n_util.h" |
| 22 #include "ui/base/resource/resource_bundle.h" | 21 #include "ui/base/resource/resource_bundle.h" |
| 23 | 22 |
| 24 using chromeos::NetworkHandler; | 23 using chromeos::NetworkHandler; |
| 25 using chromeos::NetworkState; | 24 using chromeos::NetworkState; |
| 26 using chromeos::NetworkStateHandler; | 25 using chromeos::NetworkStateHandler; |
| 27 using chromeos::NetworkTypePattern; | 26 using chromeos::NetworkTypePattern; |
| 28 | 27 |
| (...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 168 detailed_->ManagerChanged(); | 167 detailed_->ManagerChanged(); |
| 169 } | 168 } |
| 170 } | 169 } |
| 171 | 170 |
| 172 void TrayVPN::NetworkServiceChanged(const chromeos::NetworkState* network) { | 171 void TrayVPN::NetworkServiceChanged(const chromeos::NetworkState* network) { |
| 173 if (detailed_) | 172 if (detailed_) |
| 174 detailed_->NetworkServiceChanged(network); | 173 detailed_->NetworkServiceChanged(network); |
| 175 } | 174 } |
| 176 | 175 |
| 177 } // namespace ash | 176 } // namespace ash |
| OLD | NEW |