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

Unified Diff: chrome/browser/chromeos/arc/notification/arc_boot_error_notification.cc

Issue 2567083002: Migrate ArcBridgeService::Observer and ArcSession::Observer. (Closed)
Patch Set: rebase Created 4 years 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/arc/notification/arc_boot_error_notification.cc
diff --git a/chrome/browser/chromeos/arc/notification/arc_boot_error_notification.cc b/chrome/browser/chromeos/arc/notification/arc_boot_error_notification.cc
index 59fe999c236d5aa8d764f667d3ece591a339cff0..e8192dc2b586fe418442b56c69fb6f5c372e73da 100644
--- a/chrome/browser/chromeos/arc/notification/arc_boot_error_notification.cc
+++ b/chrome/browser/chromeos/arc/notification/arc_boot_error_notification.cc
@@ -11,6 +11,7 @@
#include "chrome/browser/profiles/profile_manager.h"
#include "chrome/browser/ui/chrome_pages.h"
#include "chrome/grit/generated_resources.h"
+#include "components/arc/arc_bridge_service.h"
#include "components/user_manager/user_manager.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/resource/resource_bundle.h"
@@ -95,11 +96,9 @@ ArcBootErrorNotification::~ArcBootErrorNotification() {
arc_bridge_service()->RemoveObserver(this);
}
-void ArcBootErrorNotification::OnBridgeStopped(
- ArcBridgeService::StopReason reason) {
- if (reason == ArcBridgeService::StopReason::LOW_DISK_SPACE) {
+void ArcBootErrorNotification::OnSessionStopped(StopReason reason) {
+ if (reason == StopReason::LOW_DISK_SPACE)
ShowLowDiskSpaceErrorNotification();
- }
}
} // namespace arc

Powered by Google App Engine
This is Rietveld 408576698