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

Unified Diff: chrome/browser/sync_file_system/local/syncable_file_system_unittest.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
Index: chrome/browser/sync_file_system/local/syncable_file_system_unittest.cc
diff --git a/chrome/browser/sync_file_system/local/syncable_file_system_unittest.cc b/chrome/browser/sync_file_system/local/syncable_file_system_unittest.cc
index 6228762f80a04d3efff031fbbd7b0f6c429e360f..47f21a411febfc329f17e5f2327d08783e716698 100644
--- a/chrome/browser/sync_file_system/local/syncable_file_system_unittest.cc
+++ b/chrome/browser/sync_file_system/local/syncable_file_system_unittest.cc
@@ -23,12 +23,12 @@
#include "webkit/common/quota/quota_types.h"
using content::SandboxFileSystemTestHelper;
-using fileapi::FileSystemContext;
-using fileapi::FileSystemOperationContext;
-using fileapi::FileSystemURL;
-using fileapi::FileSystemURLSet;
-using quota::QuotaManager;
-using quota::QuotaStatusCode;
+using storage::FileSystemContext;
+using storage::FileSystemOperationContext;
+using storage::FileSystemURL;
+using storage::FileSystemURLSet;
+using storage::QuotaManager;
+using storage::QuotaStatusCode;
namespace sync_file_system {
@@ -128,7 +128,7 @@ TEST_F(SyncableFileSystemTest, SyncableLocalSandboxCombined) {
const int64 kQuota = 12345 * 1024;
QuotaManager::kSyncableStorageDefaultHostQuota = kQuota;
int64 usage, quota;
- EXPECT_EQ(quota::kQuotaStatusOk,
+ EXPECT_EQ(storage::kQuotaStatusOk,
file_system_.GetUsageAndQuota(&usage, &quota));
// Returned quota must be what we overrode. Usage must be greater than 0
@@ -145,7 +145,7 @@ TEST_F(SyncableFileSystemTest, SyncableLocalSandboxCombined) {
file_system_.TruncateFile(URL("dir/foo"), kFileSizeToExtend));
int64 new_usage;
- EXPECT_EQ(quota::kQuotaStatusOk,
+ EXPECT_EQ(storage::kQuotaStatusOk,
file_system_.GetUsageAndQuota(&new_usage, &quota));
EXPECT_EQ(kFileSizeToExtend, new_usage - usage);
@@ -156,7 +156,7 @@ TEST_F(SyncableFileSystemTest, SyncableLocalSandboxCombined) {
file_system_.TruncateFile(URL("dir/foo"), kFileSizeToExtend + 1));
usage = new_usage;
- EXPECT_EQ(quota::kQuotaStatusOk,
+ EXPECT_EQ(storage::kQuotaStatusOk,
file_system_.GetUsageAndQuota(&new_usage, &quota));
EXPECT_EQ(usage, new_usage);
@@ -165,7 +165,7 @@ TEST_F(SyncableFileSystemTest, SyncableLocalSandboxCombined) {
file_system_.DeleteFileSystem());
// Now the usage must be zero.
- EXPECT_EQ(quota::kQuotaStatusOk,
+ EXPECT_EQ(storage::kQuotaStatusOk,
file_system_.GetUsageAndQuota(&usage, &quota));
EXPECT_EQ(0, usage);

Powered by Google App Engine
This is Rietveld 408576698