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

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

Issue 919183002: Move chromeos::device_event_log into components. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Shut down in PostDestroyThreads. Created 5 years, 10 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 #include "ash/system/chromeos/network/tray_network_state_observer.h" 5 #include "ash/system/chromeos/network/tray_network_state_observer.h"
6 6
7 #include <set> 7 #include <set>
8 #include <string> 8 #include <string>
9 9
10 #include "ash/system/tray/system_tray.h" 10 #include "ash/system/tray/system_tray.h"
11 #include "base/location.h" 11 #include "base/location.h"
12 #include "chromeos/device_event_log.h"
13 #include "chromeos/network/network_state.h" 12 #include "chromeos/network/network_state.h"
14 #include "chromeos/network/network_state_handler.h" 13 #include "chromeos/network/network_state_handler.h"
15 #include "third_party/cros_system_api/dbus/service_constants.h" 14 #include "third_party/cros_system_api/dbus/service_constants.h"
16 #include "ui/chromeos/network/network_icon.h" 15 #include "ui/chromeos/network/network_icon.h"
17 #include "ui/compositor/scoped_animation_duration_scale_mode.h" 16 #include "ui/compositor/scoped_animation_duration_scale_mode.h"
18 17
19 using chromeos::NetworkHandler; 18 using chromeos::NetworkHandler;
20 19
21 namespace { 20 namespace {
22 21
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 87
89 void TrayNetworkStateObserver::SendNetworkStateChanged() { 88 void TrayNetworkStateObserver::SendNetworkStateChanged() {
90 delegate_->NetworkStateChanged(); 89 delegate_->NetworkStateChanged();
91 if (purge_icons_) { 90 if (purge_icons_) {
92 ui::network_icon::PurgeNetworkIconCache(); 91 ui::network_icon::PurgeNetworkIconCache();
93 purge_icons_ = false; 92 purge_icons_ = false;
94 } 93 }
95 } 94 }
96 95
97 } // namespace ash 96 } // namespace ash
OLDNEW
« no previous file with comments | « ash/system/chromeos/network/network_state_list_detailed_view.cc ('k') | ash/system/chromeos/network/tray_vpn.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698