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 "ui/chromeos/network/network_icon.h" | 5 #include "ui/chromeos/network/network_icon.h" |
6 | 6 |
| 7 #include "base/macros.h" |
7 #include "base/strings/utf_string_conversions.h" | 8 #include "base/strings/utf_string_conversions.h" |
8 #include "chromeos/network/device_state.h" | 9 #include "chromeos/network/device_state.h" |
9 #include "chromeos/network/network_connection_handler.h" | 10 #include "chromeos/network/network_connection_handler.h" |
10 #include "chromeos/network/network_state.h" | 11 #include "chromeos/network/network_state.h" |
11 #include "chromeos/network/network_state_handler.h" | 12 #include "chromeos/network/network_state_handler.h" |
12 #include "chromeos/network/portal_detector/network_portal_detector.h" | 13 #include "chromeos/network/portal_detector/network_portal_detector.h" |
13 #include "grit/ui_chromeos_resources.h" | 14 #include "grit/ui_chromeos_resources.h" |
14 #include "grit/ui_chromeos_strings.h" | 15 #include "grit/ui_chromeos_strings.h" |
15 #include "third_party/cros_system_api/dbus/service_constants.h" | 16 #include "third_party/cros_system_api/dbus/service_constants.h" |
16 #include "ui/base/l10n/l10n_util.h" | 17 #include "ui/base/l10n/l10n_util.h" |
(...skipping 871 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
888 iter != networks.end(); ++iter) { | 889 iter != networks.end(); ++iter) { |
889 network_paths.insert((*iter)->path()); | 890 network_paths.insert((*iter)->path()); |
890 } | 891 } |
891 PurgeIconMap(ICON_TYPE_TRAY, network_paths); | 892 PurgeIconMap(ICON_TYPE_TRAY, network_paths); |
892 PurgeIconMap(ICON_TYPE_DEFAULT_VIEW, network_paths); | 893 PurgeIconMap(ICON_TYPE_DEFAULT_VIEW, network_paths); |
893 PurgeIconMap(ICON_TYPE_LIST, network_paths); | 894 PurgeIconMap(ICON_TYPE_LIST, network_paths); |
894 } | 895 } |
895 | 896 |
896 } // namespace network_icon | 897 } // namespace network_icon |
897 } // namespace ui | 898 } // namespace ui |
OLD | NEW |