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

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

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

Description

Revert of [Sync] Adds a new switch for enabling the new local server backend. (patchset #6 id:100001 of https://codereview.chromium.org/2442453002/ ) Reason for revert: Speculative revert to fix "sizes" on "Linux x64" bot. Failed build: https://build.chromium.org/p/chromium/builders/Linux%20x64/builds/27974 Error message: FAILED linux-release-64/sizes/chrome-si/initializers: actual 8, expected 7, better lower Most likely due to using: const base::FilePath::StringType kLoopbackServerBackendFilename instead of static const base::FilePath::CharType kLoopbackServerBackendFilename[] as on line 153 in profile_sync_service.cc. Original issue's 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. > > BUG=651411 > TEST=unit_tests/manual. > > Committed: https://crrev.com/d69772aa33ea1ad4e53b5236bb66fc92c1e7cc0a > Cr-Commit-Position: refs/heads/master@{#429280} TBR=pavely@chromium.org,pastarmovj@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=651411 Committed: https://crrev.com/78dd9909be3e5dc00573387ba54e79010624d198 Cr-Commit-Position: refs/heads/master@{#429284}

Patch Set 1 #

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

Messages

Total messages: 9 (3 generated)
please use gerrit instead
Created Revert of [Sync] Adds a new switch for enabling the new local server backend.
4 years, 1 month ago (2016-11-02 15:45:01 UTC) #2
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/2470153002/1
4 years, 1 month ago (2016-11-02 15:45:22 UTC) #3
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 1 month ago (2016-11-02 15:46:36 UTC) #5
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/78dd9909be3e5dc00573387ba54e79010624d198 Cr-Commit-Position: refs/heads/master@{#429284}
4 years, 1 month ago (2016-11-02 15:50:34 UTC) #7
please use gerrit instead
The build with the revert is passing again: https://build.chromium.org/p/chromium/builders/Linux%20x64/builds/27976 This patch was the correct culprit.
4 years, 1 month ago (2016-11-02 16:32:28 UTC) #8
please use gerrit instead
4 years, 1 month ago (2016-11-02 16:32:29 UTC) #9
Message was sent while issue was closed.
The build with the revert is passing again:
https://build.chromium.org/p/chromium/builders/Linux%20x64/builds/27976

This patch was the correct culprit.

Powered by Google App Engine
This is Rietveld 408576698