Index: components/arc/arc_bridge_bootstrap.h |
diff --git a/components/arc/arc_bridge_bootstrap.h b/components/arc/arc_bridge_bootstrap.h |
index a86c97420af27a55cbd9e46d6921dfcd334a42f8..4374912483953375624b96704f0b37b645191ad6 100644 |
--- a/components/arc/arc_bridge_bootstrap.h |
+++ b/components/arc/arc_bridge_bootstrap.h |
@@ -40,6 +40,10 @@ class ArcBridgeBootstrap { |
// Stops the currently-running instance. |
virtual void Stop() = 0; |
+ // Set instance for testing. ArcBridgeBootstrap owns |bootstrap| |
hidehiko
2016/03/15 07:01:53
ArcBridgeBootstrap is not a singleton, so Set*ForT
Polina Bondarenko
2016/03/15 16:16:00
Done.
|
+ // until Create() is called, then passes ownership to the caller. |
+ static void SetBootstrapForTesting( |
+ scoped_ptr<ArcBridgeBootstrap> bootstrap); |
protected: |
ArcBridgeBootstrap(); |