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

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

Issue 2788383003: ChromeOS: Disable ARC when incompatible filesystem is detected. (Closed)
Patch Set: Created 3 years, 9 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..4083b075aa09aec10c3839ece2a1a6098532ad30 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,9 @@ 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|.
xiyuan 2017/04/03 16:20:49 nit: Document this function needs to access file s
kinaba 2017/04/04 04:13:56 Added documentation, and added AssertIOAllowed()
+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