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

Unified Diff: chrome/browser/chromeos/file_system_provider/operations/read_file_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/operations/read_file_unittest.cc
diff --git a/chrome/browser/chromeos/file_system_provider/operations/read_file_unittest.cc b/chrome/browser/chromeos/file_system_provider/operations/read_file_unittest.cc
index b9d28f2d750ec3306aac669c17cf9b794216c248..acfe4620812b9f998c3b3853e70856c10cee2340 100644
--- a/chrome/browser/chromeos/file_system_provider/operations/read_file_unittest.cc
+++ b/chrome/browser/chromeos/file_system_provider/operations/read_file_unittest.cc
@@ -79,7 +79,8 @@ class FileSystemProviderOperationsReadFileTest : public testing::Test {
void SetUp() override {
file_system_info_ = ProvidedFileSystemInfo(
kExtensionId, MountOptions(kFileSystemId, "" /* display_name */),
- base::FilePath(), false /* configurable */, extensions::SOURCE_FILE);
+ base::FilePath(), false /* configurable */, true /* watchable */,
+ extensions::SOURCE_FILE);
io_buffer_ = make_scoped_refptr(new net::IOBuffer(kOffset + kLength));
}

Powered by Google App Engine
This is Rietveld 408576698