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

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

Issue 13449004: drive: Update directory changestamp after "fast fetch" for the content. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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 | no next file » | 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 d028c72c8323b85fdffb3e028064c643da9dcadf..d9ce6d8f221ca6bfb60f7901c2f4d70eaf5023d6 100644
--- a/chrome/browser/chromeos/drive/change_list_loader.cc
+++ b/chrome/browser/chromeos/drive/change_list_loader.cc
@@ -751,8 +751,12 @@ void ChangeListLoader::ScheduleRun(
// can check that the directory is being fetched.
pending_load_callback_[resource_id].push_back(
base::Bind(&util::EmptyFileOperationCallback));
+
+ DirectoryFetchInfo new_directory_fetch_info(
+ directory_fetch_info.resource_id(),
+ last_known_remote_changestamp_);
satorux1 2013/04/03 07:14:07 not sure using last_known_remote_changestamp_ is c
kinaba 2013/04/03 07:58:25 If it is 0 we are exiting the function in the if-s
satorux1 2013/04/04 08:30:47 See above.
DoLoadDirectoryFromServer(
- directory_fetch_info,
+ new_directory_fetch_info,
base::Bind(&ChangeListLoader::OnDirectoryLoadComplete,
weak_ptr_factory_.GetWeakPtr(),
directory_fetch_info,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698