| Index: webkit/chromeos/fileapi/file_access_permissions.h
|
| diff --git a/webkit/chromeos/fileapi/file_access_permissions.h b/webkit/chromeos/fileapi/file_access_permissions.h
|
| index ba20b444012a428180b83dd6a292d60091f47d25..f62b8375eda6f7e09ac99b2b69e42bd13a75c0ec 100644
|
| --- a/webkit/chromeos/fileapi/file_access_permissions.h
|
| +++ b/webkit/chromeos/fileapi/file_access_permissions.h
|
| @@ -24,7 +24,7 @@ class FileAccessPermissions {
|
| const base::FilePath& path);
|
| // Checks id |extension_id| has permission to access to |path|.
|
| bool HasAccessPermission(const std::string& extension_id,
|
| - const base::FilePath& path);
|
| + const base::FilePath& path) const;
|
| // Revokes all file permissions for |extension_id|.
|
| void RevokePermissions(const std::string& extension_id);
|
|
|
| @@ -32,7 +32,7 @@ class FileAccessPermissions {
|
| typedef std::set<base::FilePath> PathSet;
|
| typedef std::map<std::string, PathSet> PathAccessMap;
|
|
|
| - base::Lock lock_; // Synchronize all access to path_map_.
|
| + mutable base::Lock lock_; // Synchronize all access to path_map_.
|
| PathAccessMap path_map_;
|
| };
|
|
|
|
|