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

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

Issue 2434683003: Move NetworkStateNotifier and NetworkConnect from src/ui (Closed)
Patch Set: Fix virtuals 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..d7704b0f070c13ab1031e59f933917eb58a7011b 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[] = "ash.network";
+const char kNotifierNetworkError[] = "ash.network.error";
const char kNotifierNetworkPortalDetector[] = "ash.network.portal-detector";
const char kNotifierPower[] = "ash.power";
const char kNotifierQuickUnlock[] = "ash.quickunlock";
« no previous file with comments | « ash/common/system/chromeos/network/network_state_list_detailed_view.cc ('k') | ash/mus/network_connect_delegate_mus.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698