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/arc_service_manager.h

Issue 2574013003: Refactor ArcSessionRunner part 1. (Closed)
Patch Set: rebase to the split CL 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/arc_service_manager.h
diff --git a/components/arc/arc_service_manager.h b/components/arc/arc_service_manager.h
index cc3dbf6e083726af990d8756bf09ae7d5c938e98..8a3d9e1f755aec37bfb8cbeb2715763739907ca7 100644
--- a/components/arc/arc_service_manager.h
+++ b/components/arc/arc_service_manager.h
@@ -21,6 +21,7 @@ namespace arc {
class ArcBridgeService;
class ArcIntentHelperObserver;
class ArcService;
+class ArcSessionRunner;
// Manages creation and destruction of services that communicate with the ARC
// instance via the ArcBridgeService.
@@ -66,10 +67,10 @@ class ArcServiceManager {
return blocking_task_runner_;
}
- // Set ArcBridgeService instance for testing. Call before ArcServiceManager
+ // Set ArcSessionRunner instance for testing. Call before ArcServiceManager
// creation. ArcServiceManager owns |arc_bridge_service|.
- static void SetArcBridgeServiceForTesting(
- std::unique_ptr<ArcBridgeService> arc_bridge_service);
+ static void SetArcSessionRunnerForTesting(
+ std::unique_ptr<ArcSessionRunner> arc_session_runner);
// Returns the icon loader owned by ArcServiceManager and shared by services.
scoped_refptr<ActivityIconLoader> icon_loader() { return icon_loader_; }

Powered by Google App Engine
This is Rietveld 408576698