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

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

Issue 2788383003: ChromeOS: Disable ARC when incompatible filesystem is detected. (Closed)
Patch Set: AssertIOAllowed 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
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 15559694da7db2b2e8c3edab12a1849fd58482f2..86750dd96cc9935ab16974c94e9201a5b07440a2 100644
--- a/chrome/browser/chromeos/arc/arc_util.h
+++ b/chrome/browser/chromeos/arc/arc_util.h
@@ -13,6 +13,10 @@
class Profile;
+namespace base {
+class FilePath;
+}
+
namespace arc {
// Returns true if ARC is allowed to run for the given profile.
@@ -61,6 +65,10 @@ void SetArcPlayStoreEnabledForProfile(Profile* profile, bool enabled);
// ArcBackupRestoreEnabled and ArcLocationServiceEnabled) are managed.
bool AreArcAllOptInPreferencesManagedForProfile(const Profile* profile);
+// Returns whether ARC can run on the filesystem mounted at |path|.
+// This function should not run on UI/IO threads since it accesses files.
hidehiko 2017/04/04 18:35:12 Optional: how about "This function should run on t
kinaba 2017/04/05 02:35:28 Done.
+bool IsArcCompatibleFilesystem(const base::FilePath& path);
+
} // namespace arc
#endif // CHROME_BROWSER_CHROMEOS_ARC_ARC_UTIL_H_

Powered by Google App Engine
This is Rietveld 408576698