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

Unified Diff: ash/common/system/chromeos/network/tray_network_state_observer.cc

Issue 2435903002: Move tray code from ui/chromeos/network/ (Closed)
Patch Set: Rebase Created 4 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/common/system/chromeos/network/tray_network.cc ('k') | ash/common/system/chromeos/network/tray_vpn.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/chromeos/network/tray_network_state_observer.cc
diff --git a/ash/common/system/chromeos/network/tray_network_state_observer.cc b/ash/common/system/chromeos/network/tray_network_state_observer.cc
index 549401ad0ef1397d61d4688961318e613df764ff..b1d990bd48ef8600154f6f5b8e19fb6ea33db9c9 100644
--- a/ash/common/system/chromeos/network/tray_network_state_observer.cc
+++ b/ash/common/system/chromeos/network/tray_network_state_observer.cc
@@ -7,12 +7,12 @@
#include <set>
#include <string>
+#include "ash/common/system/chromeos/network/network_icon.h"
#include "ash/common/system/tray/system_tray.h"
#include "base/location.h"
#include "chromeos/network/network_state.h"
#include "chromeos/network/network_state_handler.h"
#include "third_party/cros_system_api/dbus/service_constants.h"
-#include "ui/chromeos/network/network_icon.h"
#include "ui/compositor/scoped_animation_duration_scale_mode.h"
using chromeos::NetworkHandler;
@@ -88,7 +88,7 @@ void TrayNetworkStateObserver::SignalUpdate() {
void TrayNetworkStateObserver::SendNetworkStateChanged() {
delegate_->NetworkStateChanged();
if (purge_icons_) {
- ui::network_icon::PurgeNetworkIconCache();
+ network_icon::PurgeNetworkIconCache();
purge_icons_ = false;
}
}
« no previous file with comments | « ash/common/system/chromeos/network/tray_network.cc ('k') | ash/common/system/chromeos/network/tray_vpn.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698