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

Issue 2740363002: [Sync] Fix EnableDisableSingleClientTest (Closed)

Created:
3 years, 9 months ago by Gang Wu
Modified:
3 years, 9 months ago
Reviewers:
lgcheng, skym
CC:
chromium-reviews, sync-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[Sync] Fix EnableDisableSingleClientTest BUG=689662 Review-Url: https://codereview.chromium.org/2740363002 Cr-Commit-Position: refs/heads/master@{#457959} Committed: https://chromium.googlesource.com/chromium/src/+/3f8c8d163c769d9b890e8eeb29d1ea1001e312ad

Patch Set 1 : enable tests #

Patch Set 2 : fix unit_tests #

Total comments: 9

Patch Set 3 : fix in tests #

Patch Set 4 : Move setup stuff to SyncTest #

Patch Set 5 : fix #

Total comments: 9

Patch Set 6 : add switch back #

Total comments: 2

Patch Set 7 : add {} #

Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -105 lines) Patch
M chrome/browser/sync/chrome_sync_client.cc View 1 2 3 4 5 2 chunks +6 lines, -5 lines 0 comments Download
M chrome/browser/sync/profile_sync_service_factory_unittest.cc View 1 2 3 4 5 2 chunks +6 lines, -1 line 0 comments Download
M chrome/browser/sync/test/integration/enable_disable_test.cc View 3 2 chunks +2 lines, -14 lines 0 comments Download
M chrome/browser/sync/test/integration/single_client_arc_package_sync_test.cc View 1 2 3 3 chunks +3 lines, -37 lines 0 comments Download
M chrome/browser/sync/test/integration/sync_test.h View 1 2 3 4 5 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/sync/test/integration/sync_test.cc View 1 2 3 4 5 6 5 chunks +32 lines, -0 lines 0 comments Download
M chrome/browser/sync/test/integration/two_client_arc_package_sync_test.cc View 1 2 3 9 chunks +16 lines, -48 lines 0 comments Download

Messages

Total messages: 116 (100 generated)
Gang Wu
PTAL
3 years, 9 months ago (2017-03-14 21:34:09 UTC) #18
skym
https://codereview.chromium.org/2740363002/diff/60001/chrome/browser/sync/test/integration/enable_disable_test.cc File chrome/browser/sync/test/integration/enable_disable_test.cc (right): https://codereview.chromium.org/2740363002/diff/60001/chrome/browser/sync/test/integration/enable_disable_test.cc#newcode161 chrome/browser/sync/test/integration/enable_disable_test.cc:161: IN_PROC_BROWSER_TEST_F(EnableDisableSingleClientTest, EnableOneAtATime) { Why are these tests being fixed ...
3 years, 9 months ago (2017-03-14 21:39:06 UTC) #20
lgcheng
https://codereview.chromium.org/2740363002/diff/60001/chrome/browser/sync/chrome_sync_client.cc File chrome/browser/sync/chrome_sync_client.cc (right): https://codereview.chromium.org/2740363002/diff/60001/chrome/browser/sync/chrome_sync_client.cc#newcode683 chrome/browser/sync/chrome_sync_client.cc:683: if (arc::IsArcAllowedForProfile(profile_)) { I am not sure about the ...
3 years, 9 months ago (2017-03-14 21:59:28 UTC) #21
Gang Wu
reply comments https://codereview.chromium.org/2740363002/diff/60001/chrome/browser/sync/chrome_sync_client.cc File chrome/browser/sync/chrome_sync_client.cc (right): https://codereview.chromium.org/2740363002/diff/60001/chrome/browser/sync/chrome_sync_client.cc#newcode683 chrome/browser/sync/chrome_sync_client.cc:683: if (arc::IsArcAllowedForProfile(profile_)) { On 2017/03/14 21:59:28, lgcheng ...
3 years, 9 months ago (2017-03-15 07:55:46 UTC) #22
skym
https://codereview.chromium.org/2740363002/diff/60001/chrome/browser/sync/chrome_sync_client.cc File chrome/browser/sync/chrome_sync_client.cc (right): https://codereview.chromium.org/2740363002/diff/60001/chrome/browser/sync/chrome_sync_client.cc#newcode683 chrome/browser/sync/chrome_sync_client.cc:683: if (arc::IsArcAllowedForProfile(profile_)) { On 2017/03/15 07:55:45, Gang Wu wrote: ...
3 years, 9 months ago (2017-03-15 15:45:58 UTC) #23
lgcheng
https://codereview.chromium.org/2740363002/diff/60001/chrome/browser/sync/chrome_sync_client.cc File chrome/browser/sync/chrome_sync_client.cc (right): https://codereview.chromium.org/2740363002/diff/60001/chrome/browser/sync/chrome_sync_client.cc#newcode683 chrome/browser/sync/chrome_sync_client.cc:683: if (arc::IsArcAllowedForProfile(profile_)) { On 2017/03/15 15:45:58, skym wrote: > ...
3 years, 9 months ago (2017-03-15 17:20:58 UTC) #24
Gang Wu
updated, PTAL https://codereview.chromium.org/2740363002/diff/60001/chrome/browser/sync/chrome_sync_client.cc File chrome/browser/sync/chrome_sync_client.cc (right): https://codereview.chromium.org/2740363002/diff/60001/chrome/browser/sync/chrome_sync_client.cc#newcode683 chrome/browser/sync/chrome_sync_client.cc:683: if (arc::IsArcAllowedForProfile(profile_)) { On 2017/03/15 17:20:58, lgcheng ...
3 years, 9 months ago (2017-03-16 18:40:30 UTC) #64
lgcheng
On 2017/03/16 18:40:30, Gang Wu wrote: > updated, PTAL > > https://codereview.chromium.org/2740363002/diff/60001/chrome/browser/sync/chrome_sync_client.cc > File chrome/browser/sync/chrome_sync_client.cc ...
3 years, 9 months ago (2017-03-16 23:06:12 UTC) #65
skym
I wonder if SyncArcPackageHelper really even needs to be a singleton, if it could just ...
3 years, 9 months ago (2017-03-16 23:27:19 UTC) #66
Gang Wu
add switch back since I misread the lgcheng's comments. https://codereview.chromium.org/2740363002/diff/270001/chrome/browser/sync/chrome_sync_client.cc File chrome/browser/sync/chrome_sync_client.cc (left): https://codereview.chromium.org/2740363002/diff/270001/chrome/browser/sync/chrome_sync_client.cc#oldcode682 chrome/browser/sync/chrome_sync_client.cc:682: ...
3 years, 9 months ago (2017-03-17 19:23:23 UTC) #100
skym
lgtm Thanks for all the updates Gang! https://codereview.chromium.org/2740363002/diff/430001/chrome/browser/sync/test/integration/sync_test.cc File chrome/browser/sync/test/integration/sync_test.cc (right): https://codereview.chromium.org/2740363002/diff/430001/chrome/browser/sync/test/integration/sync_test.cc#newcode524 chrome/browser/sync/test/integration/sync_test.cc:524: if (!cl->HasSwitch(switches::kSupervisedUserId)) ...
3 years, 9 months ago (2017-03-17 19:51:17 UTC) #101
Gang Wu
https://codereview.chromium.org/2740363002/diff/430001/chrome/browser/sync/test/integration/sync_test.cc File chrome/browser/sync/test/integration/sync_test.cc (right): https://codereview.chromium.org/2740363002/diff/430001/chrome/browser/sync/test/integration/sync_test.cc#newcode524 chrome/browser/sync/test/integration/sync_test.cc:524: if (!cl->HasSwitch(switches::kSupervisedUserId)) On 2017/03/17 19:51:17, skym wrote: > can ...
3 years, 9 months ago (2017-03-17 20:00:30 UTC) #104
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/2740363002/450001
3 years, 9 months ago (2017-03-17 21:28:28 UTC) #109
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/411474)
3 years, 9 months ago (2017-03-17 22:12:08 UTC) #111
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/2740363002/450001
3 years, 9 months ago (2017-03-18 05:11:12 UTC) #113
commit-bot: I haz the power
3 years, 9 months ago (2017-03-18 05:16:46 UTC) #116
Message was sent while issue was closed.
Committed patchset #7 (id:450001) as
https://chromium.googlesource.com/chromium/src/+/3f8c8d163c769d9b890e8eeb29d1...

Powered by Google App Engine
This is Rietveld 408576698