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

Unified Diff: webkit/fileapi/syncable/syncable_file_system_util.cc

Issue 11648027: Extract external file systems handling from isolated context. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 11 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: webkit/fileapi/syncable/syncable_file_system_util.cc
diff --git a/webkit/fileapi/syncable/syncable_file_system_util.cc b/webkit/fileapi/syncable/syncable_file_system_util.cc
index 207f802ab0fb9cb2bb5b36601c708773d7669436..21652d081c18a74543e075aa424974db075420ab 100644
--- a/webkit/fileapi/syncable/syncable_file_system_util.cc
+++ b/webkit/fileapi/syncable/syncable_file_system_util.cc
@@ -4,21 +4,22 @@
#include "webkit/fileapi/syncable/syncable_file_system_util.h"
+#include "webkit/fileapi/external_mount_points.h"
#include "webkit/fileapi/file_observers.h"
#include "webkit/fileapi/file_system_context.h"
#include "webkit/fileapi/file_system_util.h"
-#include "webkit/fileapi/isolated_context.h"
#include "webkit/fileapi/sandbox_mount_point_provider.h"
namespace fileapi {
bool RegisterSyncableFileSystem(const std::string& service_name) {
- return IsolatedContext::GetInstance()->RegisterExternalFileSystem(
+ return ExternalMountPoints::GetSystemInstance()->RegisterFileSystem(
service_name, kFileSystemTypeSyncable, FilePath());
}
bool RevokeSyncableFileSystem(const std::string& service_name) {
- return IsolatedContext::GetInstance()->RevokeFileSystem(service_name);
+ return ExternalMountPoints::GetSystemInstance()->RevokeFileSystem(
+ service_name);
}
GURL GetSyncableFileSystemRootURI(const GURL& origin,
« no previous file with comments | « webkit/fileapi/syncable/canned_syncable_file_system.cc ('k') | webkit/fileapi/syncable/syncable_file_system_util_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698