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

Unified Diff: ash/system/system_notifier.cc

Issue 693493003: Revert "Move network_connect code to ui/chromeos/network" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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/system/system_notifier.cc
diff --git a/ash/system/system_notifier.cc b/ash/system/system_notifier.cc
index 6bf6884ee446bcc12ca79f066d610083c3b68390..2910862a5a194ad27924408a55265ab5526cee1d 100644
--- a/ash/system/system_notifier.cc
+++ b/ash/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 {
@@ -20,9 +16,7 @@ namespace {
const char* kAlwaysShownNotifierIds[] = {
kNotifierDisplay,
kNotifierDisplayError,
-#if defined(OS_CHROMEOS)
- ui::NetworkStateNotifier::kNotifierNetworkError,
-#endif
+ kNotifierNetworkError,
kNotifierPower,
// Note: Order doesn't matter here, so keep this in alphabetic order, don't
// just add your stuff at the end!
@@ -36,10 +30,8 @@ const char* kAshSystemNotifiers[] = {
kNotifierDisplayResolutionChange,
kNotifierLocale,
kNotifierMultiProfileFirstRun,
-#if defined(OS_CHROMEOS)
- ui::NetworkStateNotifier::kNotifierNetwork,
- ui::NetworkStateNotifier::kNotifierNetworkError,
-#endif
+ kNotifierNetwork,
+ kNotifierNetworkError,
kNotifierNetworkPortalDetector,
kNotifierPower,
kNotifierScreenshot,
@@ -72,6 +64,8 @@ const char kNotifierDisplayError[] = "ash.display.error";
const char kNotifierDisplayResolutionChange[] = "ash.display.resolution-change";
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 kNotifierScreenshot[] = "ash.screenshot";

Powered by Google App Engine
This is Rietveld 408576698