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

Unified Diff: content/public/test/sandbox_file_system_test_helper.cc

Issue 492873002: Collapse fileapi, webkit_blob, webkit_database, quota, and webkit_common namespaces into single sto… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix chromeos build Created 6 years, 4 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/sandbox_file_system_test_helper.h ('k') | content/public/test/test_browser_context.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/test/sandbox_file_system_test_helper.cc
diff --git a/content/public/test/sandbox_file_system_test_helper.cc b/content/public/test/sandbox_file_system_test_helper.cc
index e0bb59fee5e8c740dbc3b403d24c5be7376aa4a2..8968b88ca1de7288d3245cffb97d672c23e8e30b 100644
--- a/content/public/test/sandbox_file_system_test_helper.cc
+++ b/content/public/test/sandbox_file_system_test_helper.cc
@@ -20,22 +20,22 @@
#include "webkit/browser/quota/quota_manager_proxy.h"
#include "webkit/common/fileapi/file_system_util.h"
-using fileapi::FileSystemContext;
-using fileapi::FileSystemOperationContext;
-using fileapi::FileSystemOperationRunner;
-using fileapi::FileSystemURL;
+using storage::FileSystemContext;
+using storage::FileSystemOperationContext;
+using storage::FileSystemOperationRunner;
+using storage::FileSystemURL;
namespace content {
SandboxFileSystemTestHelper::SandboxFileSystemTestHelper(
const GURL& origin,
- fileapi::FileSystemType type)
+ storage::FileSystemType type)
: origin_(origin), type_(type), file_util_(NULL) {
}
SandboxFileSystemTestHelper::SandboxFileSystemTestHelper()
: origin_(GURL("http://foo.com")),
- type_(fileapi::kFileSystemTypeTemporary),
+ type_(storage::kFileSystemTypeTemporary),
file_util_(NULL) {
}
@@ -55,7 +55,7 @@ void SandboxFileSystemTestHelper::SetUp(
void SandboxFileSystemTestHelper::SetUp(
const base::FilePath& base_dir,
- quota::QuotaManagerProxy* quota_manager_proxy) {
+ storage::QuotaManagerProxy* quota_manager_proxy) {
file_system_context_ = CreateFileSystemContextForTesting(
quota_manager_proxy, base_dir);
@@ -106,7 +106,7 @@ int64 SandboxFileSystemTestHelper::ComputeCurrentOriginUsage() {
usage_cache()->CloseCacheFiles();
int64 size = base::ComputeDirectorySize(GetOriginRootPath());
if (base::PathExists(GetUsageCachePath()))
- size -= fileapi::FileSystemUsageCache::kUsageFileSize;
+ size -= storage::FileSystemUsageCache::kUsageFileSize;
return size;
}
@@ -131,12 +131,12 @@ SandboxFileSystemTestHelper::NewOperationContext() {
}
void SandboxFileSystemTestHelper::AddFileChangeObserver(
- fileapi::FileChangeObserver* observer) {
+ storage::FileChangeObserver* observer) {
file_system_context_->sandbox_backend()->GetQuotaUtil()->
AddFileChangeObserver(type_, observer, NULL);
}
-fileapi::FileSystemUsageCache* SandboxFileSystemTestHelper::usage_cache() {
+storage::FileSystemUsageCache* SandboxFileSystemTestHelper::usage_cache() {
return file_system_context()->sandbox_delegate()->usage_cache();
}
« no previous file with comments | « content/public/test/sandbox_file_system_test_helper.h ('k') | content/public/test/test_browser_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698