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

Unified Diff: chrome/browser/chromeos/drive/drive_integration_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
« no previous file with comments | « chrome/browser/chrome_quota_permission_context.cc ('k') | chrome/browser/chromeos/drive/file_change.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/drive/drive_integration_service.cc
diff --git a/chrome/browser/chromeos/drive/drive_integration_service.cc b/chrome/browser/chromeos/drive/drive_integration_service.cc
index e3cfb48c5ef424aa8b03c44bebb6759d70984a66..3bec6d687b9125031a462b922cac31f714d2d17a 100644
--- a/chrome/browser/chromeos/drive/drive_integration_service.cc
+++ b/chrome/browser/chromeos/drive/drive_integration_service.cc
@@ -48,7 +48,7 @@
#include "google_apis/drive/auth_service.h"
#include "google_apis/drive/gdata_wapi_url_generator.h"
#include "ui/base/l10n/l10n_util.h"
-#include "webkit/browser/fileapi/external_mount_points.h"
+#include "storage/browser/fileapi/external_mount_points.h"
using content::BrowserContext;
using content::BrowserThread;
@@ -354,8 +354,8 @@ bool DriveIntegrationService::IsMounted() const {
// Look up the registered path, and just discard it.
// GetRegisteredPath() returns true if the path is available.
base::FilePath unused;
- fileapi::ExternalMountPoints* const mount_points =
- fileapi::ExternalMountPoints::GetSystemInstance();
+ storage::ExternalMountPoints* const mount_points =
+ storage::ExternalMountPoints::GetSystemInstance();
DCHECK(mount_points);
return mount_points->GetRegisteredPath(mount_point_name_, &unused);
}
@@ -434,15 +434,15 @@ void DriveIntegrationService::AddDriveMountPoint() {
util::GetDriveMountPointPath(profile_);
if (mount_point_name_.empty())
mount_point_name_ = drive_mount_point.BaseName().AsUTF8Unsafe();
- fileapi::ExternalMountPoints* const mount_points =
- fileapi::ExternalMountPoints::GetSystemInstance();
+ storage::ExternalMountPoints* const mount_points =
+ storage::ExternalMountPoints::GetSystemInstance();
DCHECK(mount_points);
- bool success = mount_points->RegisterFileSystem(
- mount_point_name_,
- fileapi::kFileSystemTypeDrive,
- fileapi::FileSystemMountOption(),
- drive_mount_point);
+ bool success =
+ mount_points->RegisterFileSystem(mount_point_name_,
+ storage::kFileSystemTypeDrive,
+ storage::FileSystemMountOption(),
+ drive_mount_point);
if (success) {
logger_->Log(logging::LOG_INFO, "Drive mount point is added");
@@ -460,8 +460,8 @@ void DriveIntegrationService::RemoveDriveMountPoint() {
FOR_EACH_OBSERVER(DriveIntegrationServiceObserver, observers_,
OnFileSystemBeingUnmounted());
- fileapi::ExternalMountPoints* const mount_points =
- fileapi::ExternalMountPoints::GetSystemInstance();
+ storage::ExternalMountPoints* const mount_points =
+ storage::ExternalMountPoints::GetSystemInstance();
DCHECK(mount_points);
mount_points->RevokeFileSystem(mount_point_name_);
« no previous file with comments | « chrome/browser/chrome_quota_permission_context.cc ('k') | chrome/browser/chromeos/drive/file_change.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698