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

Unified Diff: chrome/browser/media_galleries/media_file_system_registry.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/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..43c5845e9ff83ae4f67f7724c3c64fea2fb037ef 100644
--- a/chrome/browser/media_galleries/media_file_system_registry.cc
+++ b/chrome/browser/media_galleries/media_file_system_registry.cc
@@ -38,15 +38,15 @@
#include "extensions/browser/extension_system.h"
#include "extensions/common/extension.h"
#include "extensions/common/extension_set.h"
-#include "webkit/browser/fileapi/external_mount_points.h"
-#include "webkit/common/fileapi/file_system_mount_option.h"
-#include "webkit/common/fileapi/file_system_types.h"
+#include "storage/browser/fileapi/external_mount_points.h"
+#include "storage/common/fileapi/file_system_mount_option.h"
+#include "storage/common/fileapi/file_system_types.h"
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