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

Unified Diff: components/arc/arc_service_manager.h

Issue 1829703002: Add ArcEnabled policy implementation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed comments. Created 4 years, 8 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
« 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 b3a1a6d747e449d813fc184697ae8231246ea024..5c36f568fe5c20ce42076f6d8bc263a83d9b2980 100644
--- a/components/arc/arc_service_manager.h
+++ b/components/arc/arc_service_manager.h
@@ -38,6 +38,10 @@ class ArcServiceManager {
// Called when the main profile is initialized after user logs in.
void OnPrimaryUserProfilePrepared(const AccountId& account_id);
+ // Set ArcBridgeService instance for testing. Call before ArcServiceManager
+ // creation. ArcServiceManager owns |arc_bridge_service|.
+ static void SetArcBridgeServiceForTesting(
+ scoped_ptr<ArcBridgeService> arc_bridge_service);
private:
base::ThreadChecker thread_checker_;
scoped_ptr<ArcBridgeService> arc_bridge_service_;
« 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