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. |