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

Unified Diff: webkit/chromeos/fileapi/file_access_permissions.cc

Issue 12193007: Deprecate MountPointProvider::IsAccessAllowed in favor of GetPermissionPolicy (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: base::FilePath fix Created 7 years, 10 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: webkit/chromeos/fileapi/file_access_permissions.cc
diff --git a/webkit/chromeos/fileapi/file_access_permissions.cc b/webkit/chromeos/fileapi/file_access_permissions.cc
index a435a555f6ba4251622435f482ce1cceb37cb5bb..99b058160625e6e59054982bdce1b1ad30b56c76 100644
--- a/webkit/chromeos/fileapi/file_access_permissions.cc
+++ b/webkit/chromeos/fileapi/file_access_permissions.cc
@@ -30,7 +30,7 @@ void FileAccessPermissions::GrantAccessPermission(
}
bool FileAccessPermissions::HasAccessPermission(
- const std::string& extension_id, const base::FilePath& path) {
+ const std::string& extension_id, const base::FilePath& path) const {
base::AutoLock locker(lock_);
PathAccessMap::const_iterator path_map_iter = path_map_.find(extension_id);
if (path_map_iter == path_map_.end())
« no previous file with comments | « webkit/chromeos/fileapi/file_access_permissions.h ('k') | webkit/fileapi/file_system_mount_point_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698