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