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

Unified Diff: webkit/fileapi/file_system_util.h

Issue 12286020: Replace FilePath with base::FilePath. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
« no previous file with comments | « webkit/database/database_quota_client_unittest.cc ('k') | webkit/fileapi/file_system_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/fileapi/file_system_util.h
diff --git a/webkit/fileapi/file_system_util.h b/webkit/fileapi/file_system_util.h
index ffefe578c4be226796db19b8e308a5f78e368398..60ac4c04d88c2bbd7f870e94a43b7c5e5376acf0 100644
--- a/webkit/fileapi/file_system_util.h
+++ b/webkit/fileapi/file_system_util.h
@@ -27,11 +27,11 @@ extern const char kTestDir[];
class WEBKIT_STORAGE_EXPORT VirtualPath {
public:
- static const FilePath::CharType kRoot[];
- static const FilePath::CharType kSeparator;
+ static const base::FilePath::CharType kRoot[];
+ static const base::FilePath::CharType kSeparator;
// Use this instead of base::FilePath::BaseName when operating on virtual
- // paths. base::FilePath::BaseName will get confused by ':' on Windows when it
+ // paths. FilePath::BaseName will get confused by ':' on Windows when it
// looks like a drive letter separator; this will treat it as just another
// character.
static base::FilePath BaseName(const base::FilePath& virtual_path);
@@ -45,10 +45,11 @@ class WEBKIT_STORAGE_EXPORT VirtualPath {
// Returns a path name ensuring that it begins with kRoot and all path
// separators are forward slashes /.
- static FilePath::StringType GetNormalizedFilePath(const FilePath& path);
+ static base::FilePath::StringType GetNormalizedFilePath(
+ const base::FilePath& path);
// Returns true if the given path begins with kRoot.
- static bool IsAbsolute(const FilePath::StringType& path);
+ static bool IsAbsolute(const base::FilePath::StringType& path);
};
// Returns the root URI of the filesystem that can be specified by a pair of
« no previous file with comments | « webkit/database/database_quota_client_unittest.cc ('k') | webkit/fileapi/file_system_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698