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

Issue 1607473003: Create profile_sync_test_util in components (Closed)

Created:
4 years, 11 months ago by vabr (Chromium)
Modified:
4 years, 11 months ago
Reviewers:
droger, stanisc
CC:
chromium-reviews, tim+watch_chromium.org, maxbogue+watch_chromium.org, plaree+watch_chromium.org, zea+watch_chromium.org, sdefresne+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Create profile_sync_test_util in components There are already such utils in //chrome/browser/sync and the //ios version as well. This CL starts by pulling out some trivial parts into a common file in //components. More will follow as ProfileSyncService unittests will get componentised. BUG=544972 Committed: https://crrev.com/9e9222f52c71c65bdd1cfc810f83b5ed1d1d3016 Cr-Commit-Position: refs/heads/master@{#370659}

Patch Set 1 #

Patch Set 2 : Remove unused #include #

Total comments: 6

Patch Set 3 : Just rebased #

Patch Set 4 : browser_sync namespace #

Patch Set 5 : Fix iOS #

Unified diffs Side-by-side diffs Delta from patch set Stats (+81 lines, -48 lines) Patch
M chrome/browser/sync/profile_sync_service_startup_unittest.cc View 1 2 3 4 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/sync/profile_sync_test_util.h View 3 chunks +0 lines, -21 lines 0 comments Download
M chrome/browser/sync/profile_sync_test_util.cc View 1 2 3 3 chunks +2 lines, -11 lines 0 comments Download
M chrome/browser/sync/test_profile_sync_service.cc View 1 2 3 2 chunks +16 lines, -3 lines 0 comments Download
M components/browser_sync.gypi View 2 chunks +3 lines, -0 lines 0 comments Download
M components/browser_sync/browser/BUILD.gn View 1 chunk +3 lines, -0 lines 0 comments Download
A components/browser_sync/browser/profile_sync_test_util.h View 1 2 3 1 chunk +35 lines, -0 lines 0 comments Download
A components/browser_sync/browser/profile_sync_test_util.cc View 1 2 3 1 chunk +17 lines, -0 lines 0 comments Download
M ios/chrome/browser/sync/ios_chrome_profile_sync_test_util.cc View 1 2 3 4 3 chunks +2 lines, -10 lines 0 comments Download

Messages

Total messages: 14 (4 generated)
vabr (Chromium)
@droger -- please review ios/chrome/browser/sync/ios_chrome_profile_sync_test_util.cc @stanisc -- please review the rest Thanks both! Vaclav
4 years, 11 months ago (2016-01-18 16:52:14 UTC) #2
droger
ios_chrome_profile_sync_test_util.cc LGTM
4 years, 11 months ago (2016-01-18 16:57:47 UTC) #3
droger
https://codereview.chromium.org/1607473003/diff/20001/components/browser_sync/browser/profile_sync_test_util.h File components/browser_sync/browser/profile_sync_test_util.h (right): https://codereview.chromium.org/1607473003/diff/20001/components/browser_sync/browser/profile_sync_test_util.h#newcode16 components/browser_sync/browser/profile_sync_test_util.h:16: Should this be in the browser_sync namespace?
4 years, 11 months ago (2016-01-18 16:58:44 UTC) #4
vabr (Chromium)
Thanks, droger@! https://codereview.chromium.org/1607473003/diff/20001/components/browser_sync/browser/profile_sync_test_util.h File components/browser_sync/browser/profile_sync_test_util.h (right): https://codereview.chromium.org/1607473003/diff/20001/components/browser_sync/browser/profile_sync_test_util.h#newcode16 components/browser_sync/browser/profile_sync_test_util.h:16: On 2016/01/18 16:58:44, droger wrote: > Should ...
4 years, 11 months ago (2016-01-18 17:04:24 UTC) #5
stanisc
https://codereview.chromium.org/1607473003/diff/20001/chrome/browser/sync/test_profile_sync_service.cc File chrome/browser/sync/test_profile_sync_service.cc (right): https://codereview.chromium.org/1607473003/diff/20001/chrome/browser/sync/test_profile_sync_service.cc#newcode55 chrome/browser/sync/test_profile_sync_service.cc:55: init_params.sync_client = Is this new code a replacement for ...
4 years, 11 months ago (2016-01-19 19:04:00 UTC) #6
vabr (Chromium)
Thanks for the review so far! stanisc@: Comments addressed, PTAL. Cheers, Vaclav https://codereview.chromium.org/1607473003/diff/20001/chrome/browser/sync/test_profile_sync_service.cc File chrome/browser/sync/test_profile_sync_service.cc ...
4 years, 11 months ago (2016-01-20 16:43:41 UTC) #7
stanisc
lgtm
4 years, 11 months ago (2016-01-20 19:52:03 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1607473003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1607473003/80001
4 years, 11 months ago (2016-01-21 10:13:23 UTC) #11
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 11 months ago (2016-01-21 10:18:10 UTC) #12
commit-bot: I haz the power
4 years, 11 months ago (2016-01-21 10:19:38 UTC) #14
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/9e9222f52c71c65bdd1cfc810f83b5ed1d1d3016
Cr-Commit-Position: refs/heads/master@{#370659}

Powered by Google App Engine
This is Rietveld 408576698