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

Unified Diff: chrome/browser/chromeos/file_system_provider/throttled_file_system_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/throttled_file_system_unittest.cc
diff --git a/chrome/browser/chromeos/file_system_provider/throttled_file_system_unittest.cc b/chrome/browser/chromeos/file_system_provider/throttled_file_system_unittest.cc
index 5b65a75ae6e617a5814845d2a63295be00a6de64..d933308576adfdf2abca95e507c22f2e3cd45d0c 100644
--- a/chrome/browser/chromeos/file_system_provider/throttled_file_system_unittest.cc
+++ b/chrome/browser/chromeos/file_system_provider/throttled_file_system_unittest.cc
@@ -13,6 +13,7 @@
#include "chrome/browser/chromeos/file_system_provider/abort_callback.h"
#include "chrome/browser/chromeos/file_system_provider/fake_provided_file_system.h"
#include "chrome/browser/chromeos/file_system_provider/provided_file_system_info.h"
+#include "chrome/common/extensions/api/file_system_provider_capabilities/file_system_provider_capabilities_handler.h"
#include "content/public/test/test_browser_thread_bundle.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -52,8 +53,9 @@ class FileSystemProviderThrottledFileSystemTest : public testing::Test {
MountOptions options(kFileSystemId, kDisplayName);
options.opened_files_limit = limit;
- ProvidedFileSystemInfo file_system_info(kExtensionId, options,
- base::FilePath() /* mount_path */);
+ ProvidedFileSystemInfo file_system_info(
+ kExtensionId, options, base::FilePath() /* mount_path */,
+ false /* configurable */, extensions::SOURCE_FILE);
file_system_.reset(new ThrottledFileSystem(
make_scoped_ptr(new FakeProvidedFileSystem(file_system_info))));

Powered by Google App Engine
This is Rietveld 408576698