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

Unified Diff: components/arc/arc_service_manager.h

Issue 2574013003: Refactor ArcSessionRunner part 1. (Closed)
Patch Set: Address comments 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
« no previous file with comments | « components/arc/arc_bridge_service_unittest.cc ('k') | components/arc/arc_service_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/arc/arc_service_manager.h
diff --git a/components/arc/arc_service_manager.h b/components/arc/arc_service_manager.h
index c2c272d8b8cfdb687d719f8d8f2499da3d669fa8..68df26a1645e6f2afeb0e768d3fc7ac88ddfab65 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.
@@ -65,10 +66,10 @@ class ArcServiceManager {
return blocking_task_runner_;
}
- // Set ArcBridgeService instance for testing. Call before ArcServiceManager
- // creation. ArcServiceManager owns |arc_bridge_service|.
- static void SetArcBridgeServiceForTesting(
- std::unique_ptr<ArcBridgeService> arc_bridge_service);
+ // Set ArcSessionRunner instance for testing. Call before ArcServiceManager
+ // creation.
+ 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_; }
« no previous file with comments | « components/arc/arc_bridge_service_unittest.cc ('k') | components/arc/arc_service_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698