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

Unified Diff: ash/common/system/system_notifier.cc

Issue 2434683003: Move NetworkStateNotifier and NetworkConnect from src/ui (Closed)
Patch Set: 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
Index: ash/common/system/system_notifier.cc
diff --git a/ash/common/system/system_notifier.cc b/ash/common/system/system_notifier.cc
index b85815e85f997bfdc1f2d7a5450ff73776512caa..05b31c681101412a3581cd720c23653b53e0a2ca 100644
--- a/ash/common/system/system_notifier.cc
+++ b/ash/common/system/system_notifier.cc
@@ -6,10 +6,6 @@
#include "base/logging.h"
-#if defined(OS_CHROMEOS)
-#include "ui/chromeos/network/network_state_notifier.h"
-#endif
-
namespace ash {
namespace system_notifier {
@@ -25,7 +21,7 @@ const char* kAlwaysShownSystemNotifierIds[] = {
kNotifierDeprecatedAccelerator, kNotifierBattery, kNotifierDisplay,
kNotifierDisplayError,
#if defined(OS_CHROMEOS)
- ui::NetworkStateNotifier::kNotifierNetworkError,
+ kNotifierNetworkError,
#endif
kNotifierPower,
// Note: Order doesn't matter here, so keep this in alphabetic order, don't
@@ -41,7 +37,7 @@ const char* kAshSystemNotifiers[] = {
#endif
kNotifierLocale, kNotifierMultiProfileFirstRun,
#if defined(OS_CHROMEOS)
- ui::NetworkStateNotifier::kNotifierNetwork,
+ kNotifierNetwork,
#endif
kNotifierNetworkPortalDetector, kNotifierScreenshot, kNotifierScreenCapture,
kNotifierScreenShare, kNotifierSessionLengthTimeout,
@@ -75,6 +71,8 @@ const char kNotifierDualRole[] = "ash.dual-role";
const char kNotifierHats[] = "ash.hats";
const char kNotifierLocale[] = "ash.locale";
const char kNotifierMultiProfileFirstRun[] = "ash.multi-profile.first-run";
+const char kNotifierNetwork[] = "ui.chromeos.network";
James Cook 2016/10/20 00:11:43 Where are these declared?
stevenjb 2016/10/20 00:57:22 They are already in the header even though they we
+const char kNotifierNetworkError[] = "ui.chromeos.network.error";
James Cook 2016/10/20 00:11:43 Also, should they still start with "ui.chromeos" o
stevenjb 2016/10/20 00:57:22 Renamed to ash.
const char kNotifierNetworkPortalDetector[] = "ash.network.portal-detector";
const char kNotifierPower[] = "ash.power";
const char kNotifierQuickUnlock[] = "ash.quickunlock";

Powered by Google App Engine
This is Rietveld 408576698