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

Unified Diff: chrome/browser/chromeos/file_system_provider/service.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/chromeos/file_system_provider/service.cc
diff --git a/chrome/browser/chromeos/file_system_provider/service.cc b/chrome/browser/chromeos/file_system_provider/service.cc
index e420bdcf36c2e0cb8db2a3d6a2d241e0ac2ae679..ade921d87bd784342f93d8ee56164d66eca2b4a5 100644
--- a/chrome/browser/chromeos/file_system_provider/service.cc
+++ b/chrome/browser/chromeos/file_system_provider/service.cc
@@ -18,7 +18,7 @@
#include "components/pref_registry/pref_registry_syncable.h"
#include "extensions/browser/extension_registry.h"
#include "extensions/browser/extension_system.h"
-#include "webkit/browser/fileapi/external_mount_points.h"
+#include "storage/browser/fileapi/external_mount_points.h"
namespace chromeos {
namespace file_system_provider {
@@ -126,8 +126,8 @@ bool Service::MountFileSystem(const std::string& extension_id,
return false;
}
- fileapi::ExternalMountPoints* const mount_points =
- fileapi::ExternalMountPoints::GetSystemInstance();
+ storage::ExternalMountPoints* const mount_points =
+ storage::ExternalMountPoints::GetSystemInstance();
DCHECK(mount_points);
// The mount point path and name are unique per system, since they are system
@@ -137,8 +137,8 @@ bool Service::MountFileSystem(const std::string& extension_id,
const std::string mount_point_name = mount_path.BaseName().AsUTF8Unsafe();
if (!mount_points->RegisterFileSystem(mount_point_name,
- fileapi::kFileSystemTypeProvided,
- fileapi::FileSystemMountOption(),
+ storage::kFileSystemTypeProvided,
+ storage::FileSystemMountOption(),
mount_path)) {
FOR_EACH_OBSERVER(
Observer,
@@ -191,8 +191,8 @@ bool Service::UnmountFileSystem(const std::string& extension_id,
return false;
}
- fileapi::ExternalMountPoints* const mount_points =
- fileapi::ExternalMountPoints::GetSystemInstance();
+ storage::ExternalMountPoints* const mount_points =
+ storage::ExternalMountPoints::GetSystemInstance();
DCHECK(mount_points);
const ProvidedFileSystemInfo& file_system_info =

Powered by Google App Engine
This is Rietveld 408576698