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

Unified Diff: content/common/fileapi/file_system_util_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
« no previous file with comments | « content/common/fileapi/file_system_messages.h ('k') | content/common/fileapi/webblob_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/fileapi/file_system_util_unittest.cc
diff --git a/content/common/fileapi/file_system_util_unittest.cc b/content/common/fileapi/file_system_util_unittest.cc
index 0e8f6f8f1e19df106f06602efbe8c2911dd3d031..9ce5b6496abb01dab25199060c5a34ee27131817 100644
--- a/content/common/fileapi/file_system_util_unittest.cc
+++ b/content/common/fileapi/file_system_util_unittest.cc
@@ -8,12 +8,12 @@
#include "testing/gtest/include/gtest/gtest.h"
#include "url/gurl.h"
-using fileapi::CrackIsolatedFileSystemName;
-using fileapi::GetExternalFileSystemRootURIString;
-using fileapi::GetIsolatedFileSystemName;
-using fileapi::GetIsolatedFileSystemRootURIString;
-using fileapi::ValidateIsolatedFileSystemId;
-using fileapi::VirtualPath;
+using storage::CrackIsolatedFileSystemName;
+using storage::GetExternalFileSystemRootURIString;
+using storage::GetIsolatedFileSystemName;
+using storage::GetIsolatedFileSystemRootURIString;
+using storage::ValidateIsolatedFileSystemId;
+using storage::VirtualPath;
namespace content {
namespace {
@@ -23,11 +23,11 @@ class FileSystemUtilTest : public testing::Test {};
TEST_F(FileSystemUtilTest, ParseFileSystemSchemeURL) {
GURL uri("filesystem:http://chromium.org/temporary/foo/bar");
GURL origin_url;
- fileapi::FileSystemType type;
+ storage::FileSystemType type;
base::FilePath virtual_path;
ParseFileSystemSchemeURL(uri, &origin_url, &type, &virtual_path);
EXPECT_EQ(GURL("http://chromium.org"), origin_url);
- EXPECT_EQ(fileapi::kFileSystemTypeTemporary, type);
+ EXPECT_EQ(storage::kFileSystemTypeTemporary, type);
#if defined(FILE_PATH_USES_WIN_SEPARATORS)
base::FilePath expected_path(FILE_PATH_LITERAL("foo\\bar"));
#else
@@ -38,14 +38,14 @@ TEST_F(FileSystemUtilTest, ParseFileSystemSchemeURL) {
TEST_F(FileSystemUtilTest, GetTempFileSystemRootURI) {
GURL origin_url("http://chromium.org");
- fileapi::FileSystemType type = fileapi::kFileSystemTypeTemporary;
+ storage::FileSystemType type = storage::kFileSystemTypeTemporary;
GURL uri = GURL("filesystem:http://chromium.org/temporary/");
EXPECT_EQ(uri, GetFileSystemRootURI(origin_url, type));
}
TEST_F(FileSystemUtilTest, GetPersistentFileSystemRootURI) {
GURL origin_url("http://chromium.org");
- fileapi::FileSystemType type = fileapi::kFileSystemTypePersistent;
+ storage::FileSystemType type = storage::kFileSystemTypePersistent;
GURL uri = GURL("filesystem:http://chromium.org/persistent/");
EXPECT_EQ(uri, GetFileSystemRootURI(origin_url, type));
}
« no previous file with comments | « content/common/fileapi/file_system_messages.h ('k') | content/common/fileapi/webblob_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698