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

Issue 444463005: drive: Trigger "fast fetch" if remote update came during full loading. (Closed)

Created:
6 years, 4 months ago by kinaba
Modified:
6 years, 4 months ago
Reviewers:
hashimoto
CC:
chromium-reviews, tfarina, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, oshima+watch_chromium.org, nkostylev+watch_chromium.org
Project:
chromium
Visibility:
Public.

Description

drive: Trigger "fast fetch" if remote update came during full loading. * AboutResource is updated as soon as the remote update is notified. * The condition to trigger the fast-fetch mode is changed. Previously we've skipped it if the directory changestamp is close to the server changestamp, expecting the normal fetch will finish very soon in that case. To correctly grasp the expectation, however, we need to compare by using the changestamp of the whole metadata in the DB, not the directory's. BUG=329732 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=287761

Patch Set 1 : #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : Addressed review comments. #

Patch Set 4 : Rebase + fix test. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+96 lines, -13 lines) Patch
M chrome/browser/chromeos/drive/change_list_loader.h View 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/drive/change_list_loader.cc View 1 2 5 chunks +32 lines, -9 lines 0 comments Download
M chrome/browser/chromeos/drive/change_list_loader_unittest.cc View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/chromeos/drive/directory_loader.cc View 1 chunk +6 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/drive/file_system_unittest.cc View 1 1 chunk +51 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
kinaba
6 years, 4 months ago (2014-08-06 00:48:58 UTC) #1
hashimoto
https://codereview.chromium.org/444463005/diff/70001/chrome/browser/chromeos/drive/change_list_loader.cc File chrome/browser/chromeos/drive/change_list_loader.cc (right): https://codereview.chromium.org/444463005/diff/70001/chrome/browser/chromeos/drive/change_list_loader.cc#newcode346 chrome/browser/chromeos/drive/change_list_loader.cc:346: if (loaded_) { nit: Can't we replace this "if" ...
6 years, 4 months ago (2014-08-06 05:55:43 UTC) #2
kinaba
https://codereview.chromium.org/444463005/diff/70001/chrome/browser/chromeos/drive/change_list_loader.cc File chrome/browser/chromeos/drive/change_list_loader.cc (right): https://codereview.chromium.org/444463005/diff/70001/chrome/browser/chromeos/drive/change_list_loader.cc#newcode346 chrome/browser/chromeos/drive/change_list_loader.cc:346: if (loaded_) { On 2014/08/06 05:55:43, hashimoto wrote: > ...
6 years, 4 months ago (2014-08-06 06:16:54 UTC) #3
hashimoto
lgtm
6 years, 4 months ago (2014-08-06 06:37:06 UTC) #4
kinaba
The CQ bit was checked by kinaba@chromium.org
6 years, 4 months ago (2014-08-06 06:38:20 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kinaba@chromium.org/444463005/90001
6 years, 4 months ago (2014-08-06 06:40:06 UTC) #6
kinaba
The CQ bit was unchecked by kinaba@chromium.org
6 years, 4 months ago (2014-08-06 07:43:20 UTC) #7
kinaba
On 2014/08/06 07:43:20, kinaba wrote: > The CQ bit was unchecked by mailto:kinaba@chromium.org Fixed a ...
6 years, 4 months ago (2014-08-06 07:48:21 UTC) #8
hashimoto
lgtm
6 years, 4 months ago (2014-08-06 07:50:52 UTC) #9
kinaba
On 2014/08/06 07:50:52, hashimoto wrote: > lgtm thanks!
6 years, 4 months ago (2014-08-06 07:51:14 UTC) #10
kinaba
The CQ bit was checked by kinaba@chromium.org
6 years, 4 months ago (2014-08-06 07:51:17 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kinaba@chromium.org/444463005/110001
6 years, 4 months ago (2014-08-06 07:52:32 UTC) #12
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_dbg_triggered_tests on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-06 10:38:21 UTC) #13
commit-bot: I haz the power
6 years, 4 months ago (2014-08-06 11:52:03 UTC) #14
Message was sent while issue was closed.
Change committed as 287761

Powered by Google App Engine
This is Rietveld 408576698