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

Unified Diff: content/browser/in_process_webkit/indexed_db_quota_client_unittest.cc

Issue 12213066: Use base namespace for FilePath in content/browser (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
Index: content/browser/in_process_webkit/indexed_db_quota_client_unittest.cc
diff --git a/content/browser/in_process_webkit/indexed_db_quota_client_unittest.cc b/content/browser/in_process_webkit/indexed_db_quota_client_unittest.cc
index ac70f9a7c21cb18763b87ac48008728878968ccb..0eebf4b16c06513128ea90991c54df232aa3bb0d 100644
--- a/content/browser/in_process_webkit/indexed_db_quota_client_unittest.cc
+++ b/content/browser/in_process_webkit/indexed_db_quota_client_unittest.cc
@@ -55,7 +55,7 @@ class IndexedDBQuotaClientTest : public testing::Test {
}
void setup_temp_dir() {
ASSERT_TRUE(temp_dir_.CreateUniqueTempDir());
- FilePath indexeddb_dir = temp_dir_.path().Append(
+ base::FilePath indexeddb_dir = temp_dir_.path().Append(
IndexedDBContextImpl::kIndexedDBDirectory);
ASSERT_TRUE(file_util::CreateDirectory(indexeddb_dir));
idb_context()->set_data_path_for_testing(indexeddb_dir);
@@ -125,13 +125,13 @@ class IndexedDBQuotaClientTest : public testing::Test {
IndexedDBContextImpl* idb_context() { return idb_context_.get(); }
- void SetFileSizeTo(const FilePath& path, int size) {
+ void SetFileSizeTo(const base::FilePath& path, int size) {
std::string junk(size, 'a');
ASSERT_EQ(size, file_util::WriteFile(path, junk.c_str(), size));
}
void AddFakeIndexedDB(const GURL& origin, int size) {
- FilePath file_path_origin = idb_context()->GetFilePathForTesting(
+ base::FilePath file_path_origin = idb_context()->GetFilePathForTesting(
DatabaseUtil::GetOriginIdentifier(origin));
if (!file_util::CreateDirectory(file_path_origin)) {
LOG(ERROR) << "failed to file_util::CreateDirectory "

Powered by Google App Engine
This is Rietveld 408576698