Index: chrome/browser/chrome_content_browser_client.cc |
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc |
index 5abfa6ce2538a5c407410ced9a78e5d16d08ead3..438681c6de15edaaf2237a4cc952a031c8831400 100644 |
--- a/chrome/browser/chrome_content_browser_client.cc |
+++ b/chrome/browser/chrome_content_browser_client.cc |
@@ -2306,9 +2306,8 @@ void ChromeContentBrowserClient::GetAdditionalAllowedSchemesForFileSystem( |
} |
void ChromeContentBrowserClient::GetAdditionalFileSystemBackends( |
+ content::BrowserContext* browser_context, |
const base::FilePath& storage_partition_path, |
- quota::SpecialStoragePolicy* special_storage_policy, |
- fileapi::ExternalMountPoints* external_mount_points, |
ScopedVector<fileapi::FileSystemBackend>* additional_backends) { |
#if !defined(OS_ANDROID) |
base::SequencedWorkerPool* pool = content::BrowserThread::GetBlockingPool(); |
@@ -2318,11 +2317,13 @@ void ChromeContentBrowserClient::GetAdditionalFileSystemBackends( |
MediaFileSystemBackend::kMediaTaskRunnerName)).get())); |
#endif |
#if defined(OS_CHROMEOS) |
+ fileapi::ExternalMountPoints* external_mount_points = |
+ content::BrowserContext::GetMountPoints(browser_context); |
DCHECK(external_mount_points); |
chromeos::FileSystemBackend* backend = |
new chromeos::FileSystemBackend( |
- new drive::FileSystemBackendDelegate(external_mount_points), |
- special_storage_policy, |
+ new drive::FileSystemBackendDelegate(browser_context), |
+ browser_context->GetSpecialStoragePolicy(), |
external_mount_points, |
fileapi::ExternalMountPoints::GetSystemInstance()); |
backend->AddSystemMountPoints(); |