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

Unified Diff: content/common/fileapi/file_system_util_unittest.cc

Issue 442383002: Move storage-related files from webkit/ to new top-level directory storage/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . 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..c6828d17cbfb6a17e1395d64e83470b30e23cae3 100644
--- a/content/common/fileapi/file_system_util_unittest.cc
+++ b/content/common/fileapi/file_system_util_unittest.cc
@@ -2,18 +2,18 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "webkit/common/fileapi/file_system_util.h"
+#include "storage/common/fileapi/file_system_util.h"
#include "base/files/file_path.h"
#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