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

Unified Diff: components/arc/arc_bridge_service.h

Issue 1466143002: arc-bridge: Enable ARC with a command-line flag (Closed) Base URL: https://chromium.googlesource.com/a/chromium/src.git@master
Patch Set: Rebased to ToT Created 5 years, 1 month 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/BUILD.gn ('k') | components/arc/arc_bridge_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/arc/arc_bridge_service.h
diff --git a/components/arc/arc_bridge_service.h b/components/arc/arc_bridge_service.h
index 8d23d44da7cea9fe21c00f3cbb00f2113b128f52..14fdf843374ac233bc55a017a902da2537db7ffb 100644
--- a/components/arc/arc_bridge_service.h
+++ b/components/arc/arc_bridge_service.h
@@ -13,6 +13,10 @@
#include "ipc/ipc_listener.h"
#include "ipc/ipc_message.h"
+namespace base {
+class CommandLine;
+}
+
namespace arc {
// The Chrome-side service that handles ARC instances and ARC bridge creation.
@@ -84,6 +88,10 @@ class ArcBridgeService : public IPC::Listener {
// called on the thread that this class was created on.
static ArcBridgeService* Get();
+ // Return true if ARC has been enabled through a commandline
+ // switch.
+ static bool GetEnabled(const base::CommandLine* command_line);
+
// DetectAvailability() should be called once D-Bus is available. It will
// call CheckArcAvailability() on the session_manager. This can only be
// called on the thread that this class was created on.
« no previous file with comments | « components/BUILD.gn ('k') | components/arc/arc_bridge_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698