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

Unified Diff: chrome/browser/extensions/api/file_handlers/mime_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
Index: chrome/browser/extensions/api/file_handlers/mime_util_unittest.cc
diff --git a/chrome/browser/extensions/api/file_handlers/mime_util_unittest.cc b/chrome/browser/extensions/api/file_handlers/mime_util_unittest.cc
index 626e895ffea8408448b7b1f8c37814e9696d6db1..bf6fd6d55c42a8ae2d1e3dcffbbbfb90bf4a9e9d 100644
--- a/chrome/browser/extensions/api/file_handlers/mime_util_unittest.cc
+++ b/chrome/browser/extensions/api/file_handlers/mime_util_unittest.cc
@@ -38,11 +38,11 @@ void OnMimeTypesCollected(std::vector<std::string>* output,
}
// Creates a native local file system URL for a local path.
-fileapi::FileSystemURL CreateNativeLocalFileSystemURL(
- fileapi::FileSystemContext* context,
+storage::FileSystemURL CreateNativeLocalFileSystemURL(
+ storage::FileSystemContext* context,
const base::FilePath local_path) {
return context->CreateCrackedFileSystemURL(
- GURL(kOrigin), fileapi::kFileSystemTypeNativeLocal, local_path);
+ GURL(kOrigin), storage::kFileSystemTypeNativeLocal, local_path);
}
} // namespace
@@ -65,7 +65,7 @@ class FileHandlersMimeUtilTest : public testing::Test {
content::TestBrowserThreadBundle thread_bundle_;
TestingProfile profile_;
- scoped_refptr<fileapi::FileSystemContext> file_system_context_;
+ scoped_refptr<storage::FileSystemContext> file_system_context_;
base::ScopedTempDir data_dir_;
base::FilePath html_mime_file_path_;
};
@@ -104,7 +104,7 @@ TEST_F(FileHandlersMimeUtilTest, GetMimeTypeForLocalPath) {
TEST_F(FileHandlersMimeUtilTest, MimeTypeCollector_ForURLs) {
MimeTypeCollector collector(&profile_);
- std::vector<fileapi::FileSystemURL> urls;
+ std::vector<storage::FileSystemURL> urls;
urls.push_back(CreateNativeLocalFileSystemURL(
file_system_context_,
base::FilePath::FromUTF8Unsafe(kJPEGExtensionFilePath)));
« no previous file with comments | « chrome/browser/extensions/api/file_handlers/mime_util.cc ('k') | chrome/browser/extensions/api/file_system/file_system_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698