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

Unified Diff: components/arc/arc_bridge_bootstrap.h

Issue 1684063002: Add ArcEnabled policy implementation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@26869593
Patch Set: Fixed comments. Created 4 years, 9 months 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_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|
+ // until Create() is called, then passes ownership to the caller.
+ static void SetBootstrapForTesting(
+ scoped_ptr<ArcBridgeBootstrap> bootstrap);
protected:
ArcBridgeBootstrap();

Powered by Google App Engine
This is Rietveld 408576698