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

Unified Diff: chrome/browser/chromeos/net/network_portal_notification_controller.cc

Issue 2775973002: Promotes more accessors from WmShell to Shell (Closed)
Patch Set: feedback Created 3 years, 9 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: chrome/browser/chromeos/net/network_portal_notification_controller.cc
diff --git a/chrome/browser/chromeos/net/network_portal_notification_controller.cc b/chrome/browser/chromeos/net/network_portal_notification_controller.cc
index a25aaa26b639b893f3ff05c79d630fdba6bb56c0..93b3a32522a9f3ef9c4fbeae29f0f762cef2591e 100644
--- a/chrome/browser/chromeos/net/network_portal_notification_controller.cc
+++ b/chrome/browser/chromeos/net/network_portal_notification_controller.cc
@@ -11,7 +11,7 @@
#include "ash/common/system/system_notifier.h"
#include "ash/common/system/tray/system_tray_notifier.h"
-#include "ash/common/wm_shell.h"
+#include "ash/shell.h"
#include "base/command_line.h"
#include "base/compiler_specific.h"
#include "base/macros.h"
@@ -300,8 +300,8 @@ void NetworkPortalNotificationController::OnPortalDetectionCompleted(
return;
last_network_guid_ = network->guid();
- if (ash::WmShell::HasInstance()) {
- ash::WmShell::Get()->system_tray_notifier()->NotifyOnCaptivePortalDetected(
+ if (ash::Shell::HasInstance()) {
+ ash::Shell::Get()->system_tray_notifier()->NotifyOnCaptivePortalDetected(
network->guid());
}
« no previous file with comments | « chrome/browser/chromeos/net/DEPS ('k') | chrome/browser/chromeos/ui/screen_capture_notification_ui_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698