Chromium Code Reviews| 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..e08a5e1344bdcfa0482a44d9c1a57fb5a2e4c1a1 100644 |
| --- a/components/arc/arc_bridge_bootstrap.h |
| +++ b/components/arc/arc_bridge_bootstrap.h |
| @@ -40,6 +40,9 @@ class ArcBridgeBootstrap { |
| // Stops the currently-running instance. |
| virtual void Stop() = 0; |
| + // Set instance for testing. ArcBridgeBootstrap owns |bootstrap| |
| + // until Create() is called, passes ownership to a caller. |
|
bartfab (slow)
2016/03/02 14:45:40
Nit 1: s/passes/then passes/
Nit 2: s/ a / the /
Polina Bondarenko
2016/03/06 20:22:33
Done.
|
| + static void SetBootstrapForTesting(ArcBridgeBootstrap* bootstrap); |
|
bartfab (slow)
2016/03/02 14:45:40
Use a scoped_ptr to indicate ownership transfer.
Polina Bondarenko
2016/03/06 20:22:33
Done.
|
| protected: |
| ArcBridgeBootstrap(); |