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

Issue 14977008: [SyncFileSystem] Separate out ApplyLocalChange from DriveFileSyncService. (Closed)

Created:
7 years, 7 months ago by tzik
Modified:
7 years, 7 months ago
Reviewers:
kinuko, nhiroki
CC:
chromium-reviews, tzik+watch_chromium.org, kinuko+watch, yoshiki+watch_chromium.org, calvinlo
Visibility:
Public.

Description

[SyncFileSystem] Separate out ApplyLocalChange from DriveFileSyncService. This CL introduces drive::LocalChangeProcessorDelegate to handle callback chain for ApplyLocalChange::ApplyLocalChange. BUG=240588 TEST=existing test Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=200809

Patch Set 1 #

Patch Set 2 : complete! #

Patch Set 3 : wip #

Patch Set 4 : fill conflict case #

Patch Set 5 : switch to new #

Patch Set 6 : '' #

Patch Set 7 : fix #

Patch Set 8 : update #

Patch Set 9 : fix #

Patch Set 10 : drop extra empty line #

Total comments: 6

Patch Set 11 : s/ApplyLocalChangeDelegate/LocalChangeProcessorDelegate/g #

Patch Set 12 : make DriveFileSyncService own the LocalSync task #

Patch Set 13 : fix local_win case #

Total comments: 10

Patch Set 14 : +class comment #

Patch Set 15 : +Metadata for each Metadata related function #

Patch Set 16 : add local var for switch #

Patch Set 17 : +TODO #

Total comments: 4

Patch Set 18 : style fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+840 lines, -589 lines) Patch
A chrome/browser/sync_file_system/drive/local_change_processor_delegate.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +134 lines, -0 lines 0 comments Download
A chrome/browser/sync_file_system/drive/local_change_processor_delegate.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +619 lines, -0 lines 0 comments Download
M chrome/browser/sync_file_system/drive_file_sync_service.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 6 chunks +26 lines, -53 lines 0 comments Download
M chrome/browser/sync_file_system/drive_file_sync_service.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 8 chunks +59 lines, -536 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
tzik
PTL
7 years, 7 months ago (2013-05-16 06:30:43 UTC) #1
kinuko
looks good, is it possible for you to separate out semantic changes in conflict handling ...
7 years, 7 months ago (2013-05-16 06:57:49 UTC) #2
tzik
Updated! https://codereview.chromium.org/14977008/diff/19001/chrome/browser/sync_file_system/drive/apply_local_change_delegate.cc File chrome/browser/sync_file_system/drive/apply_local_change_delegate.cc (right): https://codereview.chromium.org/14977008/diff/19001/chrome/browser/sync_file_system/drive/apply_local_change_delegate.cc#newcode29 chrome/browser/sync_file_system/drive/apply_local_change_delegate.cc:29: ApplyLocalChangeDelegate::ApplyLocalChangeDelegate( On 2013/05/16 06:57:49, kinuko wrote: > nit: ...
7 years, 7 months ago (2013-05-16 11:06:14 UTC) #3
kinuko
Looking good (still), some more comments. https://codereview.chromium.org/14977008/diff/28001/chrome/browser/sync_file_system/drive/local_change_processor_delegate.cc File chrome/browser/sync_file_system/drive/local_change_processor_delegate.cc (right): https://codereview.chromium.org/14977008/diff/28001/chrome/browser/sync_file_system/drive/local_change_processor_delegate.cc#newcode447 chrome/browser/sync_file_system/drive/local_change_processor_delegate.cc:447: const SyncStatusCallback& callback) ...
7 years, 7 months ago (2013-05-16 13:37:37 UTC) #4
tzik
Updated! PTAL https://codereview.chromium.org/14977008/diff/28001/chrome/browser/sync_file_system/drive/local_change_processor_delegate.cc File chrome/browser/sync_file_system/drive/local_change_processor_delegate.cc (right): https://codereview.chromium.org/14977008/diff/28001/chrome/browser/sync_file_system/drive/local_change_processor_delegate.cc#newcode447 chrome/browser/sync_file_system/drive/local_change_processor_delegate.cc:447: const SyncStatusCallback& callback) { On 2013/05/16 13:37:37, ...
7 years, 7 months ago (2013-05-17 05:14:10 UTC) #5
nhiroki
Cool! Thank you for working on this. LGTM https://codereview.chromium.org/14977008/diff/46001/chrome/browser/sync_file_system/drive/local_change_processor_delegate.cc File chrome/browser/sync_file_system/drive/local_change_processor_delegate.cc (right): https://codereview.chromium.org/14977008/diff/46001/chrome/browser/sync_file_system/drive/local_change_processor_delegate.cc#newcode618 chrome/browser/sync_file_system/drive/local_change_processor_delegate.cc:618: } ...
7 years, 7 months ago (2013-05-17 06:02:14 UTC) #6
kinuko
Ok, lgtm. nit: Please wrap change description around 72-80 col or so: https://groups.google.com/a/chromium.org/forum/?fromgroups#!topic/chromium-dev/sRRWJwvy2C8
7 years, 7 months ago (2013-05-17 06:19:23 UTC) #7
tzik
Thanks! https://codereview.chromium.org/14977008/diff/46001/chrome/browser/sync_file_system/drive/local_change_processor_delegate.cc File chrome/browser/sync_file_system/drive/local_change_processor_delegate.cc (right): https://codereview.chromium.org/14977008/diff/46001/chrome/browser/sync_file_system/drive/local_change_processor_delegate.cc#newcode618 chrome/browser/sync_file_system/drive/local_change_processor_delegate.cc:618: } // drive On 2013/05/17 06:02:14, nhiroki wrote: ...
7 years, 7 months ago (2013-05-17 07:49:25 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tzik@chromium.org/14977008/50001
7 years, 7 months ago (2013-05-17 07:49:40 UTC) #9
commit-bot: I haz the power
7 years, 7 months ago (2013-05-17 13:51:08 UTC) #10
Message was sent while issue was closed.
Change committed as 200809

Powered by Google App Engine
This is Rietveld 408576698