| 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 ba3f684bab013d4b2b0818ec14f8551550b27135..f18b78fa179db55330d72d682eb5ca2d6832d04c 100644
|
| --- a/chrome/browser/chrome_content_browser_client.cc
|
| +++ b/chrome/browser/chrome_content_browser_client.cc
|
| @@ -137,6 +137,9 @@
|
| #include "ui/base/resource/resource_bundle.h"
|
| #include "ui/message_center/message_center_util.h"
|
| #include "webkit/browser/fileapi/external_mount_points.h"
|
| +#include "webkit/browser/fileapi/file_system_options.h"
|
| +#include "webkit/browser/fileapi/file_system_task_runners.h"
|
| +#include "webkit/browser/fileapi/syncable/sync_file_system_backend.h"
|
| #include "webkit/common/webpreferences.h"
|
| #include "webkit/plugins/plugin_switches.h"
|
|
|
| @@ -2339,6 +2342,8 @@ void ChromeContentBrowserClient::GetAdditionalAllowedSchemesForFileSystem(
|
| void ChromeContentBrowserClient::GetAdditionalFileSystemBackends(
|
| content::BrowserContext* browser_context,
|
| const base::FilePath& storage_partition_path,
|
| + fileapi::FileSystemTaskRunners* task_runners,
|
| + const fileapi::FileSystemOptions& options,
|
| ScopedVector<fileapi::FileSystemBackend>* additional_backends) {
|
| #if !defined(OS_ANDROID)
|
| base::SequencedWorkerPool* pool = content::BrowserThread::GetBlockingPool();
|
| @@ -2361,6 +2366,10 @@ void ChromeContentBrowserClient::GetAdditionalFileSystemBackends(
|
| DCHECK(backend->CanHandleType(fileapi::kFileSystemTypeExternal));
|
| additional_backends->push_back(backend);
|
| #endif
|
| +
|
| + additional_backends->push_back(
|
| + new sync_file_system::SyncFileSystemBackend(
|
| + task_runners->file_task_runner(), options));
|
| }
|
|
|
| #if defined(OS_POSIX) && !defined(OS_MACOSX)
|
|
|