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

Unified Diff: chrome/browser/chromeos/file_system_provider/mount_path_util_unittest.cc

Issue 1137383002: Show the eject button only for removabled and file handlers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed tests. Created 5 years, 7 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/file_system_provider/mount_path_util_unittest.cc
diff --git a/chrome/browser/chromeos/file_system_provider/mount_path_util_unittest.cc b/chrome/browser/chromeos/file_system_provider/mount_path_util_unittest.cc
index ae8be9166f59118cfe2287d6f4bdbcf34a956d69..7c5ee2d85f61ac657d297b25d2d32676d84594bb 100644
--- a/chrome/browser/chromeos/file_system_provider/mount_path_util_unittest.cc
+++ b/chrome/browser/chromeos/file_system_provider/mount_path_util_unittest.cc
@@ -15,6 +15,7 @@
#include "chrome/browser/chromeos/login/users/fake_chrome_user_manager.h"
#include "chrome/browser/chromeos/login/users/scoped_user_manager_enabler.h"
#include "chrome/browser/profiles/profile.h"
+#include "chrome/common/extensions/api/file_system_provider_capabilities/file_system_provider_capabilities_handler.h"
#include "chrome/test/base/testing_browser_process.h"
#include "chrome/test/base/testing_profile.h"
#include "chrome/test/base/testing_profile_manager.h"
@@ -177,9 +178,9 @@ TEST_F(FileSystemProviderMountPathUtilTest, Parser_RootPath) {
TEST_F(FileSystemProviderMountPathUtilTest, Parser_WrongUrl) {
const ProvidedFileSystemInfo file_system_info(
- kExtensionId,
- MountOptions(kFileSystemId, kDisplayName),
- GetMountPath(profile_, kExtensionId, kFileSystemId));
+ kExtensionId, MountOptions(kFileSystemId, kDisplayName),
+ GetMountPath(profile_, kExtensionId, kFileSystemId),
+ false /* configurable */, extensions::SOURCE_FILE);
const base::FilePath kFilePath = base::FilePath(FILE_PATH_LITERAL("/hello"));
const storage::FileSystemURL url =

Powered by Google App Engine
This is Rietveld 408576698