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

Issue 2473613003: [Sync] Adds a new switch for enabling the new local server backend. (Closed)

Created:
4 years, 1 month ago by pastarmovj
Modified:
4 years, 1 month ago
Reviewers:
pavely
CC:
chromium-reviews, sync-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Adds a new switch for enabling the new local server backend. Actually two flags which play in tandem: --enable-local-sync-backend and --local-sync-backend-dir The second is respected only if the first one is specified. Eventually those will be controlled by policy but the flags will allow easier testing and potentially unlock the feature for advanced users. For now sign-in is needed to kick the sync logic on but the data is only stored locally when this flag is specified. This CL is identical to https://codereview.chromium.org/2442453002/ with only a changed type of the kLoopbackServerBackendFilename constant according to the size bot recommendation. BUG=651411 TEST=unit_tests/manual. TBR=pavely Committed: https://crrev.com/43c6f026f1f50ed3e656f9c96f1b49b78afbfb18 Cr-Commit-Position: refs/heads/master@{#429558}

Patch Set 1 #

Patch Set 2 : Ifdef protect the variable. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+108 lines, -13 lines) Patch
M components/browser_sync/browser_sync_switches.h View 1 chunk +2 lines, -0 lines 0 comments Download
M components/browser_sync/browser_sync_switches.cc View 1 chunk +8 lines, -0 lines 0 comments Download
M components/browser_sync/profile_sync_service.cc View 1 4 chunks +39 lines, -3 lines 0 comments Download
M components/browser_sync/profile_sync_service_unittest.cc View 3 chunks +5 lines, -0 lines 0 comments Download
M components/sync/driver/glue/sync_backend_host.h View 1 chunk +2 lines, -0 lines 0 comments Download
M components/sync/driver/glue/sync_backend_host_core.h View 2 chunks +4 lines, -0 lines 0 comments Download
M components/sync/driver/glue/sync_backend_host_core.cc View 3 chunks +6 lines, -0 lines 0 comments Download
M components/sync/driver/glue/sync_backend_host_impl.h View 1 chunk +2 lines, -0 lines 0 comments Download
M components/sync/driver/glue/sync_backend_host_impl.cc View 2 chunks +3 lines, -0 lines 0 comments Download
M components/sync/driver/glue/sync_backend_host_impl_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M components/sync/driver/glue/sync_backend_host_mock.h View 1 chunk +2 lines, -0 lines 0 comments Download
M components/sync/driver/glue/sync_backend_host_mock.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M components/sync/engine/sync_manager.h View 1 chunk +5 lines, -0 lines 0 comments Download
M components/sync/engine/sync_manager.cc View 1 chunk +2 lines, -1 line 0 comments Download
M components/sync/engine_impl/loopback_server/loopback_server.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M components/sync/engine_impl/sync_manager_impl.h View 2 chunks +1 line, -2 lines 0 comments Download
M components/sync/engine_impl/sync_manager_impl.cc View 2 chunks +19 lines, -5 lines 0 comments Download

Messages

Total messages: 20 (11 generated)
pastarmovj
Hey Pavel, I had to clone the CL you reviewed last week because it got ...
4 years, 1 month ago (2016-11-02 16:36:32 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2473613003/1
4 years, 1 month ago (2016-11-03 08:41:28 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator/builds/99812)
4 years, 1 month ago (2016-11-03 08:52:02 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2473613003/20001
4 years, 1 month ago (2016-11-03 08:56:18 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/310128)
4 years, 1 month ago (2016-11-03 10:21:56 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2473613003/20001
4 years, 1 month ago (2016-11-03 11:47:07 UTC) #15
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 1 month ago (2016-11-03 13:24:05 UTC) #17
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/43c6f026f1f50ed3e656f9c96f1b49b78afbfb18 Cr-Commit-Position: refs/heads/master@{#429558}
4 years, 1 month ago (2016-11-03 13:27:57 UTC) #19
pavely
4 years, 1 month ago (2016-11-03 23:45:20 UTC) #20
Message was sent while issue was closed.
lgtm

btw: to simplify review of reland you can first upload original change and then
adjust it and upload in separate patchset. This way it is easier to find what's
changed.

Powered by Google App Engine
This is Rietveld 408576698