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

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

Issue 12163003: Add FilePath to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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.h
diff --git a/webkit/chromeos/fileapi/file_access_permissions.h b/webkit/chromeos/fileapi/file_access_permissions.h
index 9aa0d8ba6a05aca740ae8bc3b9faf983e740352e..ba20b444012a428180b83dd6a292d60091f47d25 100644
--- a/webkit/chromeos/fileapi/file_access_permissions.h
+++ b/webkit/chromeos/fileapi/file_access_permissions.h
@@ -21,15 +21,15 @@ class FileAccessPermissions {
// Grants |extension_id| access to |path|.
void GrantAccessPermission(const std::string& extension_id,
- const FilePath& path);
+ const base::FilePath& path);
// Checks id |extension_id| has permission to access to |path|.
bool HasAccessPermission(const std::string& extension_id,
- const FilePath& path);
+ const base::FilePath& path);
// Revokes all file permissions for |extension_id|.
void RevokePermissions(const std::string& extension_id);
private:
- typedef std::set<FilePath> PathSet;
+ typedef std::set<base::FilePath> PathSet;
typedef std::map<std::string, PathSet> PathAccessMap;
base::Lock lock_; // Synchronize all access to path_map_.
« no previous file with comments | « webkit/chromeos/fileapi/cros_mount_point_provider_unittest.cc ('k') | webkit/chromeos/fileapi/file_access_permissions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698