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

Issue 936673002: DCHECK that ProfileSyncService is created on the UI thread. (Closed)

Created:
5 years, 10 months ago by maxbogue
Modified:
5 years, 10 months ago
Reviewers:
maniscalco
CC:
chromium-reviews, tim+watch_chromium.org, pvalenzuela+watch_chromium.org, maxbogue+watch_chromium.org, zea+watch_chromium.org, maniscalco+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

DCHECK that ProfileSyncService is created on the UI thread. An unrelated change of mine revealed that SyncBackendMigratorTest failed to correctly initialize the browser threads necessary for creating ProfileSyncService. This error manifested in a confusing way, so I've added a DCHECK to make it clearer in the future. Committed: https://crrev.com/82d4e4f35960e443e9eb56a84bd4121ce9140586 Cr-Commit-Position: refs/heads/master@{#316882}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Remove snap_. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -3 lines) Patch
M chrome/browser/sync/backend_migrator_unittest.cc View 1 3 chunks +5 lines, -3 lines 0 comments Download
M chrome/browser/sync/profile_sync_service.cc View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 9 (3 generated)
maxbogue
PTAL!
5 years, 10 months ago (2015-02-18 01:23:24 UTC) #2
maniscalco
LGTM with one nit... https://codereview.chromium.org/936673002/diff/1/chrome/browser/sync/backend_migrator_unittest.cc File chrome/browser/sync/backend_migrator_unittest.cc (right): https://codereview.chromium.org/936673002/diff/1/chrome/browser/sync/backend_migrator_unittest.cc#newcode106 chrome/browser/sync/backend_migrator_unittest.cc:106: content::TestBrowserThreadBundle thread_bundle_; nit: can you ...
5 years, 10 months ago (2015-02-18 17:03:00 UTC) #3
maxbogue
https://codereview.chromium.org/936673002/diff/1/chrome/browser/sync/backend_migrator_unittest.cc File chrome/browser/sync/backend_migrator_unittest.cc (right): https://codereview.chromium.org/936673002/diff/1/chrome/browser/sync/backend_migrator_unittest.cc#newcode106 chrome/browser/sync/backend_migrator_unittest.cc:106: content::TestBrowserThreadBundle thread_bundle_; On 2015/02/18 17:03:00, maniscalco wrote: > nit: ...
5 years, 10 months ago (2015-02-18 19:00:06 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/936673002/20001
5 years, 10 months ago (2015-02-18 19:01:14 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 10 months ago (2015-02-18 20:19:22 UTC) #8
commit-bot: I haz the power
5 years, 10 months ago (2015-02-18 20:20:04 UTC) #9
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/82d4e4f35960e443e9eb56a84bd4121ce9140586
Cr-Commit-Position: refs/heads/master@{#316882}

Powered by Google App Engine
This is Rietveld 408576698