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

Unified Diff: chrome/browser/chromeos/file_system_provider/operations/add_watcher_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/operations/add_watcher_unittest.cc
diff --git a/chrome/browser/chromeos/file_system_provider/operations/add_watcher_unittest.cc b/chrome/browser/chromeos/file_system_provider/operations/add_watcher_unittest.cc
index 0707d5331ed7f4b0493581c8d20a21e5ec4c4c37..c076b002d0daffae093acc1defe1060f52c377ba 100644
--- a/chrome/browser/chromeos/file_system_provider/operations/add_watcher_unittest.cc
+++ b/chrome/browser/chromeos/file_system_provider/operations/add_watcher_unittest.cc
@@ -14,6 +14,7 @@
#include "chrome/browser/chromeos/file_system_provider/operations/test_util.h"
#include "chrome/browser/chromeos/file_system_provider/provided_file_system_interface.h"
#include "chrome/common/extensions/api/file_system_provider.h"
+#include "chrome/common/extensions/api/file_system_provider_capabilities/file_system_provider_capabilities_handler.h"
#include "chrome/common/extensions/api/file_system_provider_internal.h"
#include "extensions/browser/event_router.h"
#include "storage/browser/fileapi/async_file_util.h"
@@ -39,9 +40,8 @@ class FileSystemProviderOperationsAddWatcherTest : public testing::Test {
void SetUp() override {
file_system_info_ = ProvidedFileSystemInfo(
- kExtensionId,
- MountOptions(kFileSystemId, "" /* display_name */),
- base::FilePath());
+ kExtensionId, MountOptions(kFileSystemId, "" /* display_name */),
+ base::FilePath(), false /* configurable */, extensions::SOURCE_FILE);
}
ProvidedFileSystemInfo file_system_info_;

Powered by Google App Engine
This is Rietveld 408576698