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

Unified Diff: chrome/browser/chromeos/drive/change_list_loader.cc

Issue 343073003: Files.app: Provide detailed change information on onDirectoryChanged event (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 6 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 | « no previous file | chrome/browser/chromeos/drive/change_list_loader_observer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/drive/change_list_loader.cc
diff --git a/chrome/browser/chromeos/drive/change_list_loader.cc b/chrome/browser/chromeos/drive/change_list_loader.cc
index 5fd63014b8cc7ad417537d37abd83a1573c73546..6c46f7f439f9280cc4c4c3d8ca6f0dc3f6cc0add 100644
--- a/chrome/browser/chromeos/drive/change_list_loader.cc
+++ b/chrome/browser/chromeos/drive/change_list_loader.cc
@@ -523,13 +523,9 @@ void ChangeListLoader::LoadChangeListFromServerAfterUpdate(
base::Int64ToString(elapsed.InMilliseconds()).c_str());
if (should_notify_changed_directories) {
- for (std::set<base::FilePath>::iterator dir_iter =
- change_list_processor->changed_dirs().begin();
- dir_iter != change_list_processor->changed_dirs().end();
- ++dir_iter) {
- FOR_EACH_OBSERVER(ChangeListLoaderObserver, observers_,
- OnDirectoryChanged(*dir_iter));
- }
+ FOR_EACH_OBSERVER(ChangeListLoaderObserver,
+ observers_,
+ OnFileChanged(change_list_processor->changed_files()));
}
OnChangeListLoadComplete(error);
« no previous file with comments | « no previous file | chrome/browser/chromeos/drive/change_list_loader_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698