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

Unified Diff: chrome/browser/chromeos/arc/arc_util.h

Issue 2806443002: arc: Add IsArcAllowedInAppListForProfile. (Closed)
Patch Set: Rename Created 3 years, 8 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 | « no previous file | chrome/browser/chromeos/arc/arc_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/arc/arc_util.h
diff --git a/chrome/browser/chromeos/arc/arc_util.h b/chrome/browser/chromeos/arc/arc_util.h
index e3ea4895e16cee5b0b8bb0e714731091e1b39586..7765832e9abad9327bef3b6adbac810e0718fc6c 100644
--- a/chrome/browser/chromeos/arc/arc_util.h
+++ b/chrome/browser/chromeos/arc/arc_util.h
@@ -26,6 +26,19 @@ namespace arc {
// nullptr can be safely passed to this function. In that case, returns false.
bool IsArcAllowedForProfile(const Profile* profile);
+// Returns true if ARC app is allowed to show up on app list for the given
+// profile. This can be a looser condition than IsArcAllowedForProfile.
+// ARC may be temporaliry disallowed for the profile, but it may become again
+// avaiable after the user's action. ARC app list can stay there to ease the
+// user (by showing apps not gone) and to give a guide for the action.
+bool IsArcAllowedInAppListForProfile(const Profile* profile);
+
+// Returns true if the profile is already marked to be on a filesystem
+// compatible to the currently installed ARC version. The check almost never
+// is meaningful on test workstation. Usually it should be checked only when
+// running on the real Chrome OS.
+bool IsArcCompatibleFileSystemUsedForProfile(const Profile* profile);
+
// Disallows ARC for all profiles for testing.
// In most cases, disabling ARC should be done via commandline. However,
// there are some cases to be tested where ARC is available, but ARC is not
« no previous file with comments | « no previous file | chrome/browser/chromeos/arc/arc_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698