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

Unified Diff: chrome/browser/chromeos/file_system_provider/operations/copy_entry_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/copy_entry_unittest.cc
diff --git a/chrome/browser/chromeos/file_system_provider/operations/copy_entry_unittest.cc b/chrome/browser/chromeos/file_system_provider/operations/copy_entry_unittest.cc
index f864780402bd6d198917424614b631457d19c9b2..90c8f39c9f9465f5bf7bcead693cddbffa98adb0 100644
--- a/chrome/browser/chromeos/file_system_provider/operations/copy_entry_unittest.cc
+++ b/chrome/browser/chromeos/file_system_provider/operations/copy_entry_unittest.cc
@@ -45,7 +45,7 @@ class FileSystemProviderOperationsCopyEntryTest : public testing::Test {
mount_options.writable = true;
file_system_info_ = ProvidedFileSystemInfo(
kExtensionId, mount_options, base::FilePath(), false /* configurable */,
- extensions::SOURCE_FILE);
+ true /* watchable */, extensions::SOURCE_FILE);
}
ProvidedFileSystemInfo file_system_info_;
@@ -106,7 +106,7 @@ TEST_F(FileSystemProviderOperationsCopyEntryTest, Execute_ReadOnly) {
const ProvidedFileSystemInfo read_only_file_system_info(
kExtensionId, MountOptions(kFileSystemId, "" /* display_name */),
base::FilePath() /* mount_path */, false /* configurable */,
- extensions::SOURCE_FILE);
+ true /* watchable */, extensions::SOURCE_FILE);
CopyEntry copy_entry(NULL, read_only_file_system_info,
base::FilePath(kSourcePath), base::FilePath(kTargetPath),

Powered by Google App Engine
This is Rietveld 408576698