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

Unified Diff: chrome/browser/media_galleries/media_file_system_registry.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/media_galleries/media_file_system_registry.cc
diff --git a/chrome/browser/media_galleries/media_file_system_registry.cc b/chrome/browser/media_galleries/media_file_system_registry.cc
index ad063546f6244595cb9dfaeef699ee74209b3992..dadead5b9213e0dc498701cc55127ade738a3624 100644
--- a/chrome/browser/media_galleries/media_file_system_registry.cc
+++ b/chrome/browser/media_galleries/media_file_system_registry.cc
@@ -46,7 +46,7 @@ using content::BrowserThread;
using content::NavigationController;
using content::RenderProcessHost;
using content::WebContents;
-using fileapi::ExternalMountPoints;
+using storage::ExternalMountPoints;
using storage_monitor::MediaStorageUtil;
using storage_monitor::StorageInfo;
using storage_monitor::StorageMonitor;
@@ -703,8 +703,10 @@ class MediaFileSystemRegistry::MediaFileSystemContextImpl
result = registry->RegisterIPhotoFilesystemOnUIThread(fs_name, path);
} else {
result = ExternalMountPoints::GetSystemInstance()->RegisterFileSystem(
- fs_name, fileapi::kFileSystemTypeNativeMedia,
- fileapi::FileSystemMountOption(), path);
+ fs_name,
+ storage::kFileSystemTypeNativeMedia,
+ storage::FileSystemMountOption(),
+ path);
}
return result;
}
@@ -718,8 +720,10 @@ class MediaFileSystemRegistry::MediaFileSystemContextImpl
// Sanity checks for |path|.
CHECK(MediaStorageUtil::CanCreateFileSystem(device_id, path));
bool result = ExternalMountPoints::GetSystemInstance()->RegisterFileSystem(
- fs_name, fileapi::kFileSystemTypeDeviceMedia,
- fileapi::FileSystemMountOption(), path);
+ fs_name,
+ storage::kFileSystemTypeDeviceMedia,
+ storage::FileSystemMountOption(),
+ path);
CHECK(result);
BrowserThread::PostTask(BrowserThread::IO, FROM_HERE, base::Bind(
&MTPDeviceMapService::RegisterMTPFileSystem,

Powered by Google App Engine
This is Rietveld 408576698