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

Issue 19482003: ShortcutManager constructor: Added DCHECK for UI thread. (Closed)

Created:
7 years, 5 months ago by Matt Giuca
Modified:
7 years, 4 months ago
CC:
chromium-reviews, tfarina, chromium-apps-reviews_chromium.org, chrome-apps-syd-reviews_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

ShortcutManager, TestingProfile constructors: Added DCHECK for UI thread. Profiles should only be created on the UI thread. Previously the DCHECK did not work due to http://crbug.com/251191. BUG=251191 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=215768

Patch Set 1 #

Patch Set 2 : Rebase to HEAD. #

Patch Set 3 : Rebase to HEAD. #

Patch Set 4 : Use IsWellKnownThread instead of GetCurrentThreadIdentifier. #

Patch Set 5 : Add the same check to TestingProfile::Init. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -3 lines) Patch
M chrome/browser/apps/shortcut_manager.cc View 1 2 3 2 chunks +6 lines, -3 lines 0 comments Download
M chrome/test/base/testing_profile.cc View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Matt Giuca
7 years, 5 months ago (2013-07-17 01:38:46 UTC) #1
benwells
lgtm
7 years, 5 months ago (2013-07-17 04:26:44 UTC) #2
Matt Giuca
phajdan.jr: I added the DCHECK to TestingProfile, as requested in https://groups.google.com/a/chromium.org/forum/#!topic/chromium-dev/AR9Ti7eyxys.
7 years, 4 months ago (2013-08-05 06:59:23 UTC) #3
Paweł Hajdan Jr.
LGTM
7 years, 4 months ago (2013-08-05 20:32:54 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mgiuca@chromium.org/19482003/27001
7 years, 4 months ago (2013-08-06 00:35:03 UTC) #5
commit-bot: I haz the power
7 years, 4 months ago (2013-08-06 02:48:13 UTC) #6
Message was sent while issue was closed.
Change committed as 215768

Powered by Google App Engine
This is Rietveld 408576698