diff options
author | tbarzic@chromium.org <tbarzic@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-25 22:46:34 +0000 |
---|---|---|
committer | tbarzic@chromium.org <tbarzic@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-25 22:46:34 +0000 |
commit | 6ef0c391fe92b35b42f291a61f7c4608bc80c023 (patch) | |
tree | 30ce241eba9202f74af14b40128e2543094cfacc /webkit/fileapi/media | |
parent | 5025c8b2136a8ac6c41081699b3aad7137862291 (diff) | |
download | chromium_src-6ef0c391fe92b35b42f291a61f7c4608bc80c023.zip chromium_src-6ef0c391fe92b35b42f291a61f7c4608bc80c023.tar.gz chromium_src-6ef0c391fe92b35b42f291a61f7c4608bc80c023.tar.bz2 |
Add BrowserContext specific external mount points
... and drill them down to FileSystemContext and CrosMountPointProvider.
These mount points will be used to register profile specific mount points.
(read Google drive, and in multi-profile world Downloads).
Also, use BrowserContext mount points to register mount points in browser tests.
TBR=sky@chromium.org (for chrome/browser/ui)
BUG=158837
TEST= {
content_unittests:FileSystemContextTest.*;
browser_tests:*FileSystemExtensionApiTest.*;
manual: verify that Files.app display files and can execute
fileBrowserHandlers (in Downloads and drive, with and without
--file-manager-packaged flag);
Review URL: https://chromiumcodereview.appspot.com/11943023
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@178927 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/fileapi/media')
-rw-r--r-- | webkit/fileapi/media/native_media_file_util_unittest.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/webkit/fileapi/media/native_media_file_util_unittest.cc b/webkit/fileapi/media/native_media_file_util_unittest.cc index 66bffd3..48f9c29 100644 --- a/webkit/fileapi/media/native_media_file_util_unittest.cc +++ b/webkit/fileapi/media/native_media_file_util_unittest.cc @@ -12,6 +12,7 @@ #include "base/stringprintf.h" #include "base/time.h" #include "testing/gtest/include/gtest/gtest.h" +#include "webkit/fileapi/external_mount_points.h" #include "webkit/fileapi/file_system_context.h" #include "webkit/fileapi/file_system_operation.h" #include "webkit/fileapi/file_system_task_runners.h" @@ -112,6 +113,7 @@ class NativeMediaFileUtilTest : public testing::Test { file_system_context_ = new FileSystemContext( FileSystemTaskRunners::CreateMockTaskRunners(), + ExternalMountPoints::CreateRefCounted().get(), storage_policy, NULL, data_dir_.path(), |