Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(134)

Unified Diff: chrome/browser/chromeos/fileapi/file_system_backend_unittest.cc

Issue 246293011: Mount MTP devices in Chrome OS Files.app. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/fileapi/file_system_backend_unittest.cc
diff --git a/chrome/browser/chromeos/fileapi/file_system_backend_unittest.cc b/chrome/browser/chromeos/fileapi/file_system_backend_unittest.cc
index 2687ace81c959e7707137291525dcf7e37bf7e28..49c89fedee27a5facf97ca8fbdcccf7620555a00 100644
--- a/chrome/browser/chromeos/fileapi/file_system_backend_unittest.cc
+++ b/chrome/browser/chromeos/fileapi/file_system_backend_unittest.cc
@@ -41,6 +41,8 @@ TEST(ChromeOSFileSystemBackendTest, DefaultMountPoints) {
scoped_refptr<fileapi::ExternalMountPoints> mount_points(
fileapi::ExternalMountPoints::CreateRefCounted());
chromeos::FileSystemBackend backend(
+ base::FilePath(), // profile_path,
+ NULL, // media_task_runner,
mtomasz 2014/04/23 12:17:19 There seem to be no media_task_runner argument in
kinaba 2014/04/24 01:33:30 Oops. Done.
NULL, // drive_delegate
NULL, // file_system_provider_delegate
storage_policy,
@@ -69,7 +71,9 @@ TEST(ChromeOSFileSystemBackendTest, GetRootDirectories) {
scoped_refptr<fileapi::ExternalMountPoints> system_mount_points(
fileapi::ExternalMountPoints::CreateRefCounted());
- chromeos::FileSystemBackend backend(NULL, // drive_delegate
+ chromeos::FileSystemBackend backend(base::FilePath(), // profile_path
+ NULL, // media_task_runner,
+ NULL, // drive_delegate
NULL, // file_system_provider_delegate
storage_policy,
mount_points.get(),
@@ -115,7 +119,9 @@ TEST(ChromeOSFileSystemBackendTest, AccessPermissions) {
fileapi::ExternalMountPoints::CreateRefCounted());
scoped_refptr<fileapi::ExternalMountPoints> system_mount_points(
fileapi::ExternalMountPoints::CreateRefCounted());
- chromeos::FileSystemBackend backend(NULL, // drive_delegate
+ chromeos::FileSystemBackend backend(base::FilePath(),
+ NULL,
+ NULL, // drive_delegate
NULL, // file_system_provider_delegate
storage_policy,
mount_points.get(),
@@ -208,7 +214,9 @@ TEST(ChromeOSFileSystemBackendTest, GetVirtualPathConflictWithSystemPoints) {
fileapi::ExternalMountPoints::CreateRefCounted());
scoped_refptr<fileapi::ExternalMountPoints> system_mount_points(
fileapi::ExternalMountPoints::CreateRefCounted());
- chromeos::FileSystemBackend backend(NULL, // drive_delegate
+ chromeos::FileSystemBackend backend(base::FilePath(),
+ NULL,
+ NULL, // drive_delegate
mtomasz 2014/04/23 12:17:19 optional: This is just an idea, but how about maki
kinaba 2014/04/24 01:33:30 Done.
NULL, // file_system_provider_delegate
storage_policy,
mount_points.get(),

Powered by Google App Engine
This is Rietveld 408576698