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

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

Issue 1221093002: Add support for refreshing contents of providers which don't support watchers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed tests. Created 5 years, 5 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/provided_file_system_unittest.cc
diff --git a/chrome/browser/chromeos/file_system_provider/provided_file_system_unittest.cc b/chrome/browser/chromeos/file_system_provider/provided_file_system_unittest.cc
index 2a4488f1d1d100acd1b2ba23320f3f218c16824c..64be6fcc965c30af221fd4009e72950bbb1582ff 100644
--- a/chrome/browser/chromeos/file_system_provider/provided_file_system_unittest.cc
+++ b/chrome/browser/chromeos/file_system_provider/provided_file_system_unittest.cc
@@ -234,7 +234,7 @@ class FileSystemProviderProvidedFileSystemTest : public testing::Test {
mount_options.writable = true;
file_system_info_.reset(new ProvidedFileSystemInfo(
kExtensionId, mount_options, mount_path, false /* configurable */,
- extensions::SOURCE_FILE));
+ true /* watchable */, extensions::SOURCE_FILE));
provided_file_system_.reset(
new ProvidedFileSystem(profile_.get(), *file_system_info_.get()));
event_router_.reset(
@@ -414,7 +414,7 @@ TEST_F(FileSystemProviderProvidedFileSystemTest, AddWatcher_PersistentIllegal) {
mount_options.supports_notify_tag = false;
ProvidedFileSystemInfo file_system_info(
kExtensionId, mount_options, mount_path, false /* configurable */,
- extensions::SOURCE_FILE);
+ true /* watchable */, extensions::SOURCE_FILE);
ProvidedFileSystem simple_provided_file_system(profile_.get(),
file_system_info);
simple_provided_file_system.SetEventRouterForTesting(event_router_.get());

Powered by Google App Engine
This is Rietveld 408576698