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

Issue 442403003: Update SyncManager::Init to use a GURL for the sync server URL. (Closed)

Created:
6 years, 4 months ago by maniscalco
Modified:
6 years, 4 months ago
Reviewers:
haitaol1
CC:
chromium-reviews, tim+watch_chromium.org, haitaol+watch_chromium.org, zea+watch_chromium.org, maniscalco+watch_chromium.org
Project:
chromium
Visibility:
Public.

Description

Refactor SyncManager::Init to use a GURL for the sync server URL. Instead of passing the sync server URL as a string, int, and bool, just pass the GURL. In a future CL SyncManager will make use of this GURL to initialize an AttachmentUploader. clang-format was used to format the modified lines. BUG= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=287893

Patch Set 1 : . #

Patch Set 2 : Fix sync_client.cc too. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+134 lines, -121 lines) Patch
M chrome/browser/sync/glue/sync_backend_host_core.cc View 3 chunks +2 lines, -4 lines 0 comments Download
M sync/internal_api/public/sync_manager.h View 3 chunks +4 lines, -6 lines 0 comments Download
M sync/internal_api/public/test/fake_sync_manager.h View 2 chunks +3 lines, -3 lines 0 comments Download
M sync/internal_api/sync_backup_manager.h View 3 chunks +3 lines, -5 lines 0 comments Download
M sync/internal_api/sync_backup_manager.cc View 2 chunks +17 lines, -19 lines 0 comments Download
M sync/internal_api/sync_backup_manager_unittest.cc View 3 chunks +14 lines, -5 lines 0 comments Download
M sync/internal_api/sync_manager_impl.h View 3 chunks +4 lines, -5 lines 0 comments Download
M sync/internal_api/sync_manager_impl.cc View 3 chunks +8 lines, -5 lines 2 comments Download
M sync/internal_api/sync_manager_impl_unittest.cc View 3 chunks +4 lines, -5 lines 0 comments Download
M sync/internal_api/sync_rollback_manager.h View 3 chunks +4 lines, -5 lines 0 comments Download
M sync/internal_api/sync_rollback_manager.cc View 2 chunks +17 lines, -19 lines 0 comments Download
M sync/internal_api/sync_rollback_manager_base_unittest.cc View 3 chunks +15 lines, -7 lines 0 comments Download
M sync/internal_api/sync_rollback_manager_unittest.cc View 2 chunks +18 lines, -8 lines 0 comments Download
M sync/internal_api/test/fake_sync_manager.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M sync/tools/sync_client.cc View 1 4 chunks +18 lines, -22 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
maniscalco
Haitao, would you please review this change?
6 years, 4 months ago (2014-08-06 17:43:00 UTC) #1
haitaol1
https://codereview.chromium.org/442403003/diff/40001/sync/internal_api/sync_manager_impl.cc File sync/internal_api/sync_manager_impl.cc (right): https://codereview.chromium.org/442403003/diff/40001/sync/internal_api/sync_manager_impl.cc#newcode387 sync/internal_api/sync_manager_impl.cc:387: service_url.host() + service_url.path(), Why don't continue to pass down ...
6 years, 4 months ago (2014-08-06 21:30:26 UTC) #2
maniscalco
https://codereview.chromium.org/442403003/diff/40001/sync/internal_api/sync_manager_impl.cc File sync/internal_api/sync_manager_impl.cc (right): https://codereview.chromium.org/442403003/diff/40001/sync/internal_api/sync_manager_impl.cc#newcode387 sync/internal_api/sync_manager_impl.cc:387: service_url.host() + service_url.path(), On 2014/08/06 21:30:26, haitaol1 wrote: > ...
6 years, 4 months ago (2014-08-06 21:33:40 UTC) #3
haitaol1
lgtm
6 years, 4 months ago (2014-08-06 22:09:13 UTC) #4
maniscalco
On 2014/08/06 22:09:13, haitaol1 wrote: > lgtm Thanks for the speedy review.
6 years, 4 months ago (2014-08-06 22:11:31 UTC) #5
maniscalco
The CQ bit was checked by maniscalco@chromium.org
6 years, 4 months ago (2014-08-06 22:11:35 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/maniscalco@chromium.org/442403003/40001
6 years, 4 months ago (2014-08-06 22:14:25 UTC) #7
commit-bot: I haz the power
6 years, 4 months ago (2014-08-06 23:22:43 UTC) #8
Message was sent while issue was closed.
Change committed as 287893

Powered by Google App Engine
This is Rietveld 408576698