Index: components/arc/arc_util.cc |
diff --git a/components/arc/arc_util.cc b/components/arc/arc_util.cc |
index bb876f03485aa5822295250110e3e4b6bbab4f29..130d2c62446f54827f2f7a0c07069c916b4d7dbc 100644 |
--- a/components/arc/arc_util.cc |
+++ b/components/arc/arc_util.cc |
@@ -59,6 +59,16 @@ bool IsArcAvailable() { |
base::FeatureList::IsEnabled(kEnableArcFeature)); |
} |
+bool ShouldAlwaysStartArc() { |
+ return base::CommandLine::ForCurrentProcess()->HasSwitch( |
+ chromeos::switches::kAlwaysStartArc); |
+} |
+ |
+void SetAlwaysStartArcForTesting() { |
+ base::CommandLine::ForCurrentProcess()->AppendSwitch( |
+ chromeos::switches::kAlwaysStartArc); |
+} |
+ |
bool IsArcKioskAvailable() { |
const auto* command_line = base::CommandLine::ForCurrentProcess(); |