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

Issue 213473008: [SyncFS] Split SyncEngine and SyncEngineContext (Closed)

Created:
6 years, 9 months ago by peria
Modified:
6 years, 9 months ago
Reviewers:
tzik
CC:
chromium-reviews, kinuko+watch, nhiroki, tzik
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Following member values of SyncEngine class migrate to SyncEngineContext, and they are accessed through getters. -scoped_ptr<drive::DriveServiceInterface> drive_service_; -scoped_ptr<drive::DriveUploaderInterface> drive_uploader_; -scoped_ptr<MetadataDatabase> metadata_database_; -RemoteChangeProcessor* remote_change_processor_; -scoped_refptr<base::SequencedTaskRunner> task_runner_; BUG=347425 NOTRY=true Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=260166

Patch Set 1 : #

Total comments: 8

Patch Set 2 : Work for style fixes #

Patch Set 3 : Fix tests #

Total comments: 12

Patch Set 4 : Remove includes #

Patch Set 5 : Work for comments #

Patch Set 6 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+300 lines, -289 lines) Patch
M chrome/browser/sync_file_system/drive_backend/conflict_resolver.cc View 1 2 3 1 chunk +2 lines, -4 lines 0 comments Download
M chrome/browser/sync_file_system/drive_backend/conflict_resolver_unittest.cc View 1 2 3 4 5 9 chunks +27 lines, -44 lines 0 comments Download
M chrome/browser/sync_file_system/drive_backend/list_changes_task_unittest.cc View 1 2 3 4 5 12 chunks +28 lines, -43 lines 0 comments Download
M chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer_unittest.cc View 1 2 3 4 5 7 chunks +27 lines, -39 lines 0 comments Download
M chrome/browser/sync_file_system/drive_backend/register_app_task_unittest.cc View 1 2 3 4 6 chunks +24 lines, -40 lines 0 comments Download
M chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer_unittest.cc View 1 2 3 4 5 6 chunks +30 lines, -43 lines 0 comments Download
M chrome/browser/sync_file_system/drive_backend/sync_engine.h View 1 5 chunks +7 lines, -14 lines 0 comments Download
M chrome/browser/sync_file_system/drive_backend/sync_engine.cc View 1 2 3 4 5 26 chunks +66 lines, -55 lines 0 comments Download
M chrome/browser/sync_file_system/drive_backend/sync_engine_context.h View 1 2 3 4 2 chunks +22 lines, -7 lines 0 comments Download
A chrome/browser/sync_file_system/drive_backend/sync_engine_context.cc View 1 2 3 1 chunk +66 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
peria
tzik@ would you take a look, as a starting point?
6 years, 9 months ago (2014-03-27 07:02:43 UTC) #1
tzik
https://codereview.chromium.org/213473008/diff/80001/chrome/browser/sync_file_system/drive_backend/sync_engine.h File chrome/browser/sync_file_system/drive_backend/sync_engine.h (right): https://codereview.chromium.org/213473008/diff/80001/chrome/browser/sync_file_system/drive_backend/sync_engine.h#newcode133 chrome/browser/sync_file_system/drive_backend/sync_engine.h:133: // SyncEngineContext overrides. drop this comment? https://codereview.chromium.org/213473008/diff/80001/chrome/browser/sync_file_system/drive_backend/sync_engine_context.h File chrome/browser/sync_file_system/drive_backend/sync_engine_context.h ...
6 years, 9 months ago (2014-03-27 07:41:03 UTC) #2
peria
https://codereview.chromium.org/213473008/diff/80001/chrome/browser/sync_file_system/drive_backend/sync_engine.h File chrome/browser/sync_file_system/drive_backend/sync_engine.h (right): https://codereview.chromium.org/213473008/diff/80001/chrome/browser/sync_file_system/drive_backend/sync_engine.h#newcode133 chrome/browser/sync_file_system/drive_backend/sync_engine.h:133: // SyncEngineContext overrides. On 2014/03/27 07:41:03, tzik wrote: > ...
6 years, 9 months ago (2014-03-27 10:14:36 UTC) #3
tzik
https://codereview.chromium.org/213473008/diff/200001/chrome/browser/sync_file_system/drive_backend/conflict_resolver.cc File chrome/browser/sync_file_system/drive_backend/conflict_resolver.cc (right): https://codereview.chromium.org/213473008/diff/200001/chrome/browser/sync_file_system/drive_backend/conflict_resolver.cc#newcode11 chrome/browser/sync_file_system/drive_backend/conflict_resolver.cc:11: #include "base/sequenced_task_runner.h" I think all #include additions are not ...
6 years, 9 months ago (2014-03-27 11:24:17 UTC) #4
peria
https://codereview.chromium.org/213473008/diff/200001/chrome/browser/sync_file_system/drive_backend/conflict_resolver.cc File chrome/browser/sync_file_system/drive_backend/conflict_resolver.cc (right): https://codereview.chromium.org/213473008/diff/200001/chrome/browser/sync_file_system/drive_backend/conflict_resolver.cc#newcode11 chrome/browser/sync_file_system/drive_backend/conflict_resolver.cc:11: #include "base/sequenced_task_runner.h" On 2014/03/27 11:24:17, tzik wrote: > I ...
6 years, 9 months ago (2014-03-28 03:20:23 UTC) #5
tzik
Thank! LGTM!
6 years, 9 months ago (2014-03-28 03:24:03 UTC) #6
peria
The CQ bit was checked by peria@chromium.org
6 years, 9 months ago (2014-03-28 03:36:21 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/peria@chromium.org/213473008/260001
6 years, 9 months ago (2014-03-28 03:36:59 UTC) #8
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-28 03:37:05 UTC) #9
commit-bot: I haz the power
Failed to apply patch for chrome/browser/sync_file_system/drive_backend/conflict_resolver_unittest.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 9 months ago (2014-03-28 03:37:06 UTC) #10
peria
The CQ bit was checked by peria@chromium.org
6 years, 9 months ago (2014-03-28 04:12:33 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/peria@chromium.org/213473008/280001
6 years, 9 months ago (2014-03-28 04:13:06 UTC) #12
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-28 07:24:10 UTC) #13
commit-bot: I haz the power
Retried try job too often on ios_dbg_simulator for step(s) base_unittests, components_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=ios_dbg_simulator&number=136865
6 years, 9 months ago (2014-03-28 07:24:10 UTC) #14
peria
The CQ bit was checked by peria@chromium.org
6 years, 9 months ago (2014-03-28 07:26:58 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/peria@chromium.org/213473008/280001
6 years, 9 months ago (2014-03-28 07:28:12 UTC) #16
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-28 12:19:14 UTC) #17
commit-bot: I haz the power
Retried try job too often on ios_dbg_simulator for step(s) base_unittests, components_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=ios_dbg_simulator&number=137160
6 years, 9 months ago (2014-03-28 12:19:15 UTC) #18
tzik
The CQ bit was checked by tzik@chromium.org
6 years, 9 months ago (2014-03-28 16:41:53 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/peria@chromium.org/213473008/280001
6 years, 9 months ago (2014-03-28 16:45:11 UTC) #20
commit-bot: I haz the power
6 years, 9 months ago (2014-03-28 16:49:45 UTC) #21
Message was sent while issue was closed.
Change committed as 260166

Powered by Google App Engine
This is Rietveld 408576698