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

Unified Diff: components/arc/arc_util.cc

Issue 2668153002: Revert of Move more utility functions to arc_util. (Closed)
Patch Set: Created 3 years, 11 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_util.h ('k') | components/arc/arc_util_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/arc/arc_util.cc
diff --git a/components/arc/arc_util.cc b/components/arc/arc_util.cc
index d7e22dcf624ba68d61f0a627d827fbbdaa5aa61d..b2fbdd6afb4d9061d8740fb08bfea3f96474c9ea 100644
--- a/components/arc/arc_util.cc
+++ b/components/arc/arc_util.cc
@@ -7,7 +7,6 @@
#include "base/command_line.h"
#include "base/feature_list.h"
#include "chromeos/chromeos_switches.h"
-#include "components/user_manager/user_manager.h"
namespace arc {
@@ -36,14 +35,4 @@
command_line->AppendSwitch(chromeos::switches::kEnableArc);
}
-bool IsArcKioskMode() {
- return user_manager::UserManager::Get()->IsLoggedInAsArcKioskApp();
-}
-
-bool IsArcOptInVerificationDisabled() {
- const auto* command_line = base::CommandLine::ForCurrentProcess();
- return command_line->HasSwitch(
- chromeos::switches::kDisableArcOptInVerification);
-}
-
} // namespace arc
« no previous file with comments | « components/arc/arc_util.h ('k') | components/arc/arc_util_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698