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

Unified Diff: content/browser/fileapi/file_system_dir_url_request_job_unittest.cc

Issue 137923003: Change fileapi namespace to content for files that are moved under content/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: build fix Created 6 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: content/browser/fileapi/file_system_dir_url_request_job_unittest.cc
diff --git a/content/browser/fileapi/file_system_dir_url_request_job_unittest.cc b/content/browser/fileapi/file_system_dir_url_request_job_unittest.cc
index f2e0fd170eedf42f6c834bc370b28365fe2f69b3..1468bdffccae87b6e8170981119660473ddc5aa6 100644
--- a/content/browser/fileapi/file_system_dir_url_request_job_unittest.cc
+++ b/content/browser/fileapi/file_system_dir_url_request_job_unittest.cc
@@ -31,7 +31,11 @@
#include "webkit/browser/fileapi/file_system_url.h"
#include "webkit/browser/quota/mock_special_storage_policy.h"
-namespace fileapi {
+using fileapi::FileSystemContext;
+using fileapi::FileSystemOperationContext;
+using fileapi::FileSystemURL;
+
+namespace content {
namespace {
// We always use the TEMPORARY FileSystem in this test.
@@ -54,8 +58,8 @@ class FileSystemDirURLRequestJobTest : public testing::Test {
NULL, temp_dir_.path());
file_system_context_->OpenFileSystem(
- GURL("http://remote/"), kFileSystemTypeTemporary,
- OPEN_FILE_SYSTEM_CREATE_IF_NONEXISTENT,
+ GURL("http://remote/"), fileapi::kFileSystemTypeTemporary,
+ fileapi::OPEN_FILE_SYSTEM_CREATE_IF_NONEXISTENT,
base::Bind(&FileSystemDirURLRequestJobTest::OnOpenFileSystem,
weak_factory_.GetWeakPtr()));
base::RunLoop().RunUntilIdle();
@@ -85,7 +89,7 @@ class FileSystemDirURLRequestJobTest : public testing::Test {
delegate_->set_quit_on_redirect(true);
request_ = empty_context_.CreateRequest(
url, net::DEFAULT_PRIORITY, delegate_.get());
- job_ = new FileSystemDirURLRequestJob(
+ job_ = new fileapi::FileSystemDirURLRequestJob(
request_.get(), NULL, file_system_context);
request_->Start();
@@ -206,7 +210,7 @@ class FileSystemDirURLRequestJobTest : public testing::Test {
}
}
- FileSystemFileUtil* file_util() {
+ fileapi::FileSystemFileUtil* file_util() {
return file_system_context_->sandbox_delegate()->sync_file_util();
}
@@ -318,4 +322,4 @@ TEST_F(FileSystemDirURLRequestJobTest, Incognito) {
}
} // namespace (anonymous)
-} // namespace fileapi
+} // namespace content

Powered by Google App Engine
This is Rietveld 408576698