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

Unified Diff: content/public/test/test_file_system_context.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
« no previous file with comments | « content/public/test/test_file_system_context.h ('k') | content/public/test/test_file_system_options.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/test/test_file_system_context.cc
diff --git a/content/public/test/test_file_system_context.cc b/content/public/test/test_file_system_context.cc
index b189d5d27db1431a3566e73b7e7cc41986ba56bd..d09bbd1a23ba7a9f56d7fda9d063530dd952730b 100644
--- a/content/public/test/test_file_system_context.cc
+++ b/content/public/test/test_file_system_context.cc
@@ -12,26 +12,27 @@
#include "webkit/browser/fileapi/file_system_context.h"
#include "webkit/browser/quota/mock_special_storage_policy.h"
-namespace fileapi {
+namespace content {
-FileSystemContext* CreateFileSystemContextForTesting(
+fileapi::FileSystemContext* CreateFileSystemContextForTesting(
quota::QuotaManagerProxy* quota_manager_proxy,
const base::FilePath& base_path) {
- ScopedVector<FileSystemBackend> additional_providers;
+ ScopedVector<fileapi::FileSystemBackend> additional_providers;
additional_providers.push_back(new TestFileSystemBackend(
base::MessageLoopProxy::current().get(), base_path));
return CreateFileSystemContextWithAdditionalProvidersForTesting(
quota_manager_proxy, additional_providers.Pass(), base_path);
}
-FileSystemContext* CreateFileSystemContextWithAdditionalProvidersForTesting(
+fileapi::FileSystemContext*
+CreateFileSystemContextWithAdditionalProvidersForTesting(
quota::QuotaManagerProxy* quota_manager_proxy,
- ScopedVector<FileSystemBackend> additional_providers,
+ ScopedVector<fileapi::FileSystemBackend> additional_providers,
const base::FilePath& base_path) {
- return new FileSystemContext(
+ return new fileapi::FileSystemContext(
base::MessageLoopProxy::current().get(),
base::MessageLoopProxy::current().get(),
- ExternalMountPoints::CreateRefCounted().get(),
+ fileapi::ExternalMountPoints::CreateRefCounted().get(),
make_scoped_refptr(new quota::MockSpecialStoragePolicy()).get(),
quota_manager_proxy,
additional_providers.Pass(),
@@ -39,14 +40,14 @@ FileSystemContext* CreateFileSystemContextWithAdditionalProvidersForTesting(
CreateAllowFileAccessOptions());
}
-FileSystemContext* CreateIncognitoFileSystemContextForTesting(
+fileapi::FileSystemContext* CreateIncognitoFileSystemContextForTesting(
quota::QuotaManagerProxy* quota_manager_proxy,
const base::FilePath& base_path) {
- ScopedVector<FileSystemBackend> additional_providers;
- return new FileSystemContext(
+ ScopedVector<fileapi::FileSystemBackend> additional_providers;
+ return new fileapi::FileSystemContext(
base::MessageLoopProxy::current().get(),
base::MessageLoopProxy::current().get(),
- ExternalMountPoints::CreateRefCounted().get(),
+ fileapi::ExternalMountPoints::CreateRefCounted().get(),
make_scoped_refptr(new quota::MockSpecialStoragePolicy()).get(),
quota_manager_proxy,
additional_providers.Pass(),
@@ -54,4 +55,4 @@ FileSystemContext* CreateIncognitoFileSystemContextForTesting(
CreateIncognitoFileSystemOptions());
}
-} // namespace fileapi
+} // namespace content
« no previous file with comments | « content/public/test/test_file_system_context.h ('k') | content/public/test/test_file_system_options.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698