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

Unified Diff: chrome/browser/chromeos/arc/arc_session_manager.cc

Issue 2577103002: arc: Rename methods in ArcSessionManager::Observer. (Closed)
Patch Set: OnArcShutdownBridge -> OnArcBridgeShutdown 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/arc_session_manager.cc
diff --git a/chrome/browser/chromeos/arc/arc_session_manager.cc b/chrome/browser/chromeos/arc/arc_session_manager.cc
index 28c084946b2528ad274f6ab4826f4dfd1a820c3d..14f9303564eb76cfe6cef1c13e024c177084d972 100644
--- a/chrome/browser/chromeos/arc/arc_session_manager.cc
+++ b/chrome/browser/chromeos/arc/arc_session_manager.cc
@@ -328,7 +328,7 @@ void ArcSessionManager::OnProvisioningFinished(ProvisioningResult result) {
}
for (auto& observer : observer_list_)
- observer.OnInitialStart();
+ observer.OnArcInitialStart();
return;
}
@@ -536,7 +536,7 @@ void ArcSessionManager::OnOptInPreferenceChanged() {
const bool arc_enabled = IsArcEnabled();
for (auto& observer : observer_list_)
- observer.OnOptInEnabled(arc_enabled);
+ observer.OnArcOptInChanged(arc_enabled);
if (!arc_enabled) {
// Reset any pending request to re-enable Arc.
@@ -623,7 +623,7 @@ void ArcSessionManager::ShutdownBridge() {
if (state_ != State::NOT_INITIALIZED && state_ != State::REMOVING_DATA_DIR)
SetState(State::STOPPED);
for (auto& observer : observer_list_)
- observer.OnShutdownBridge();
+ observer.OnArcBridgeShutdown();
}
void ArcSessionManager::AddObserver(Observer* observer) {
« no previous file with comments | « chrome/browser/chromeos/arc/arc_session_manager.h ('k') | chrome/browser/chromeos/arc/arc_session_manager_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698