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

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

Issue 661393002: [fsp] Separate logic for saving/restoring state to a separate class. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: C++11 features. 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
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 45d5bc226201aeb26ece08ee3f6f52bc36299a9c..8404c70f61988926a0f4121a46f15af32ee81bae 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
@@ -124,7 +124,7 @@ class Observer : public ProvidedFileSystemObserver {
// ProvidedFileSystemInterfaceObserver overrides.
virtual void OnObservedEntryChanged(
const ProvidedFileSystemInfo& file_system_info,
- const base::FilePath& observed_path,
+ const ObservedEntry& observed_entry,
ProvidedFileSystemObserver::ChangeType change_type,
const ProvidedFileSystemObserver::ChildChanges& child_changes,
const base::Closure& callback) override {
@@ -135,8 +135,7 @@ class Observer : public ProvidedFileSystemObserver {
virtual void OnObservedEntryTagUpdated(
const ProvidedFileSystemInfo& file_system_info,
- const base::FilePath& observed_path,
- const std::string& tag) override {
+ const ObservedEntry& observed_entry) override {
EXPECT_EQ(kFileSystemId, file_system_info.file_system_id());
++tag_updated_counter_;
}

Powered by Google App Engine
This is Rietveld 408576698