| Index: content/browser/fileapi/browser_file_system_helper.cc
|
| diff --git a/content/browser/fileapi/browser_file_system_helper.cc b/content/browser/fileapi/browser_file_system_helper.cc
|
| index 49447405e20ac315d9fac92fa05eac4da2db9c55..fe1aa62d12f378aa8341c9d076b6af3d08e0ce40 100644
|
| --- a/content/browser/fileapi/browser_file_system_helper.cc
|
| +++ b/content/browser/fileapi/browser_file_system_helper.cc
|
| @@ -12,6 +12,7 @@
|
| #include "base/sequenced_task_runner.h"
|
| #include "base/threading/sequenced_worker_pool.h"
|
| #include "content/browser/child_process_security_policy_impl.h"
|
| +#include "content/public/browser/browser_context.h"
|
| #include "content/public/browser/browser_thread.h"
|
| #include "content/public/browser/content_browser_client.h"
|
| #include "content/public/common/content_client.h"
|
| @@ -48,9 +49,9 @@ FileSystemOptions CreateBrowserFileSystemOptions(bool is_incognito) {
|
| } // namespace
|
|
|
| scoped_refptr<fileapi::FileSystemContext> CreateFileSystemContext(
|
| + BrowserContext* browser_context,
|
| const base::FilePath& profile_path,
|
| bool is_incognito,
|
| - fileapi::ExternalMountPoints* external_mount_points,
|
| quota::SpecialStoragePolicy* special_storage_policy,
|
| quota::QuotaManagerProxy* quota_manager_proxy) {
|
|
|
| @@ -66,15 +67,15 @@ scoped_refptr<fileapi::FileSystemContext> CreateFileSystemContext(
|
| // Setting up additional mount point providers.
|
| ScopedVector<fileapi::FileSystemMountPointProvider> additional_providers;
|
| GetContentClient()->browser()->GetAdditionalFileSystemMountPointProviders(
|
| + browser_context,
|
| profile_path,
|
| special_storage_policy,
|
| - external_mount_points,
|
| &additional_providers);
|
|
|
| scoped_refptr<fileapi::FileSystemContext> file_system_context =
|
| new fileapi::FileSystemContext(
|
| task_runners.Pass(),
|
| - external_mount_points,
|
| + BrowserContext::GetMountPoints(browser_context),
|
| special_storage_policy,
|
| quota_manager_proxy,
|
| additional_providers.Pass(),
|
|
|