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

Unified Diff: webkit/fileapi/local_file_system_test_helper.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
« no previous file with comments | « webkit/fileapi/local_file_system_quota_unittest.cc ('k') | webkit/fileapi/local_file_system_test_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/fileapi/local_file_system_test_helper.h
diff --git a/webkit/fileapi/local_file_system_test_helper.h b/webkit/fileapi/local_file_system_test_helper.h
index c6cf8c746c99ba5302d2c1559895defd97772a70..6dbebc68882e7cf8a24ef3b918dac187d7d93191 100644
--- a/webkit/fileapi/local_file_system_test_helper.h
+++ b/webkit/fileapi/local_file_system_test_helper.h
@@ -15,12 +15,14 @@
#include "webkit/fileapi/file_system_util.h"
#include "webkit/quota/quota_types.h"
+namespace base {
+class FilePath;
+}
+
namespace quota {
class QuotaManagerProxy;
}
-class FilePath;
-
namespace fileapi {
class FileSystemContext;
@@ -37,27 +39,27 @@ class LocalFileSystemTestOriginHelper {
LocalFileSystemTestOriginHelper();
~LocalFileSystemTestOriginHelper();
- void SetUp(const FilePath& base_dir);
+ void SetUp(const base::FilePath& base_dir);
// If you want to use more than one LocalFileSystemTestOriginHelper in
// a single base directory, they have to share a context, so that they don't
// have multiple databases fighting over the lock to the origin directory
// [deep down inside ObfuscatedFileUtil].
void SetUp(FileSystemContext* file_system_context);
- void SetUp(const FilePath& base_dir,
+ void SetUp(const base::FilePath& base_dir,
bool unlimited_quota,
quota::QuotaManagerProxy* quota_manager_proxy);
void TearDown();
- FilePath GetOriginRootPath() const;
- FilePath GetLocalPath(const FilePath& path);
- FilePath GetLocalPathFromASCII(const std::string& path);
+ base::FilePath GetOriginRootPath() const;
+ base::FilePath GetLocalPath(const base::FilePath& path);
+ base::FilePath GetLocalPathFromASCII(const std::string& path);
// Returns empty path if filesystem type is neither temporary nor persistent.
- FilePath GetUsageCachePath() const;
+ base::FilePath GetUsageCachePath() const;
- FileSystemURL CreateURL(const FilePath& path) const;
+ FileSystemURL CreateURL(const base::FilePath& path) const;
FileSystemURL CreateURLFromUTF8(const std::string& utf8) const {
- return CreateURL(FilePath::FromUTF8Unsafe(utf8));
+ return CreateURL(base::FilePath::FromUTF8Unsafe(utf8));
}
// Helper methods for same-FileUtil copy/move.
« no previous file with comments | « webkit/fileapi/local_file_system_quota_unittest.cc ('k') | webkit/fileapi/local_file_system_test_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698