summaryrefslogtreecommitdiffstats
path: root/webkit/blob
diff options
context:
space:
mode:
authortbarzic@chromium.org <tbarzic@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-25 22:46:34 +0000
committertbarzic@chromium.org <tbarzic@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-25 22:46:34 +0000
commit6ef0c391fe92b35b42f291a61f7c4608bc80c023 (patch)
tree30ce241eba9202f74af14b40128e2543094cfacc /webkit/blob
parent5025c8b2136a8ac6c41081699b3aad7137862291 (diff)
downloadchromium_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/blob')
-rw-r--r--webkit/blob/blob_url_request_job_unittest.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/webkit/blob/blob_url_request_job_unittest.cc b/webkit/blob/blob_url_request_job_unittest.cc
index 1ed897b..007d936 100644
--- a/webkit/blob/blob_url_request_job_unittest.cc
+++ b/webkit/blob/blob_url_request_job_unittest.cc
@@ -19,6 +19,7 @@
#include "testing/gtest/include/gtest/gtest.h"
#include "webkit/blob/blob_data.h"
#include "webkit/blob/blob_url_request_job.h"
+#include "webkit/fileapi/external_mount_points.h"
#include "webkit/fileapi/file_system_context.h"
#include "webkit/fileapi/file_system_file_util.h"
#include "webkit/fileapi/file_system_operation_context.h"
@@ -169,6 +170,7 @@ class BlobURLRequestJobTest : public testing::Test {
// Prepare file system.
file_system_context_ = new fileapi::FileSystemContext(
fileapi::FileSystemTaskRunners::CreateMockTaskRunners(),
+ fileapi::ExternalMountPoints::CreateRefCounted().get(),
NULL,
NULL,
temp_dir_.path(),