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

Unified Diff: components/arc/test/fake_arc_session.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: components/arc/test/fake_arc_session.cc
diff --git a/components/arc/test/fake_arc_session.cc b/components/arc/test/fake_arc_session.cc
index 5ebc1e04a0214e260cf8287c51f339647aebdf23..7662e6d62150c9addfbdaedce57973b6ed81d2d7 100644
--- a/components/arc/test/fake_arc_session.cc
+++ b/components/arc/test/fake_arc_session.cc
@@ -26,20 +26,20 @@ void FakeArcSession::Start() {
}
void FakeArcSession::Stop() {
- StopWithReason(ArcBridgeService::StopReason::SHUTDOWN);
+ StopWithReason(ArcSessionObserver::StopReason::SHUTDOWN);
}
void FakeArcSession::OnShutdown() {
- StopWithReason(ArcBridgeService::StopReason::SHUTDOWN);
+ StopWithReason(ArcSessionObserver::StopReason::SHUTDOWN);
}
-void FakeArcSession::StopWithReason(ArcBridgeService::StopReason reason) {
+void FakeArcSession::StopWithReason(ArcSessionObserver::StopReason reason) {
for (auto& observer : observer_list_)
observer.OnStopped(reason);
}
void FakeArcSession::EnableBootFailureEmulation(
- ArcBridgeService::StopReason reason) {
+ ArcSessionObserver::StopReason reason) {
DCHECK(!boot_failure_emulation_enabled_);
DCHECK(!boot_suspended_);
« components/arc/arc_session_observer.h ('K') | « components/arc/test/fake_arc_session.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698