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

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

Issue 656393002: [fsp] Pass proper data to Notify(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git/+/master
Patch Set: Created 6 years, 2 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
« no previous file with comments | « chrome/browser/chromeos/file_system_provider/provided_file_system_observer.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 67a44b2f9ef5cc5668e763a61fe9576345137eb3..3410412857bde80a24a050384444389d62ae6518 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
@@ -539,12 +539,11 @@ TEST_F(FileSystemProviderProvidedFileSystemTest, Notify) {
// Notify about a change.
const ProvidedFileSystemObserver::ChangeType change_type =
ProvidedFileSystemObserver::CHANGED;
- const ProvidedFileSystemObserver::ChildChanges child_changes;
const std::string tag = "hello-world";
EXPECT_TRUE(provided_file_system_->Notify(
base::FilePath::FromUTF8Unsafe(kDirectoryPath),
change_type,
- child_changes,
+ make_scoped_ptr(new ProvidedFileSystemObserver::ChildChanges),
tag));
// Verify the observer event.
@@ -582,7 +581,7 @@ TEST_F(FileSystemProviderProvidedFileSystemTest, Notify) {
EXPECT_TRUE(provided_file_system_->Notify(
base::FilePath::FromUTF8Unsafe(kDirectoryPath),
change_type,
- child_changes,
+ make_scoped_ptr(new ProvidedFileSystemObserver::ChildChanges),
tag));
base::RunLoop().RunUntilIdle();
« no previous file with comments | « chrome/browser/chromeos/file_system_provider/provided_file_system_observer.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698