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

Issue 369933002: Use the correct thread to access g_browser_process. (Closed)

Created:
6 years, 5 months ago by yao
Modified:
6 years, 5 months ago
Reviewers:
msw, jwd
CC:
chromium-reviews, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Use the correct thread to access g_browser_process. Since g_browser_process can only be accessed by ui thread, and GoogleUpdateSettings::GetCollectStatsConsent should be called by FILE thread, it doesn't make sense to put them in the same function, which is executed through posttask on FILE thread. Schedules only GoogleUpdateSettings::GetCollectStatsConsent on FILE thread, and does everything else on IO thread in ShowForReal() BUG= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=281865

Patch Set 1 #

Patch Set 2 : Nits #

Total comments: 4

Patch Set 3 : Address comments #

Patch Set 4 : Rebase #

Patch Set 5 : scoped_ptr should be passed. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -20 lines) Patch
M chrome/browser/ui/views/session_crashed_bubble_view.h View 1 2 1 chunk +4 lines, -5 lines 0 comments Download
M chrome/browser/ui/views/session_crashed_bubble_view.cc View 1 2 3 4 2 chunks +18 lines, -15 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
yao
PTAL, thanks!
6 years, 5 months ago (2014-07-07 15:38:38 UTC) #1
jwd
LGTM with nits https://codereview.chromium.org/369933002/diff/20001/chrome/browser/ui/views/session_crashed_bubble_view.cc File chrome/browser/ui/views/session_crashed_bubble_view.cc (right): https://codereview.chromium.org/369933002/diff/20001/chrome/browser/ui/views/session_crashed_bubble_view.cc#newcode139 chrome/browser/ui/views/session_crashed_bubble_view.cc:139: // Determine whether or not uma ...
6 years, 5 months ago (2014-07-07 19:57:24 UTC) #2
yao
+msw for owner's review, Thanks https://codereview.chromium.org/369933002/diff/20001/chrome/browser/ui/views/session_crashed_bubble_view.cc File chrome/browser/ui/views/session_crashed_bubble_view.cc (right): https://codereview.chromium.org/369933002/diff/20001/chrome/browser/ui/views/session_crashed_bubble_view.cc#newcode139 chrome/browser/ui/views/session_crashed_bubble_view.cc:139: // Determine whether or ...
6 years, 5 months ago (2014-07-07 20:24:48 UTC) #3
msw
lgtm, please fill out BUG= if there's a relevant issue.
6 years, 5 months ago (2014-07-07 22:59:08 UTC) #4
yao
The CQ bit was checked by yiyaoliu@chromium.org
6 years, 5 months ago (2014-07-08 14:09:02 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yiyaoliu@chromium.org/369933002/50001
6 years, 5 months ago (2014-07-08 14:09:30 UTC) #6
yao
The CQ bit was unchecked by yiyaoliu@chromium.org
6 years, 5 months ago (2014-07-08 15:44:04 UTC) #7
yao
The CQ bit was checked by yiyaoliu@chromium.org
6 years, 5 months ago (2014-07-08 17:50:15 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yiyaoliu@chromium.org/369933002/90001
6 years, 5 months ago (2014-07-08 17:51:31 UTC) #9
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win8_chromium_rel on tryserver.chromium ...
6 years, 5 months ago (2014-07-08 21:56:51 UTC) #10
commit-bot: I haz the power
6 years, 5 months ago (2014-07-08 23:09:42 UTC) #11
Message was sent while issue was closed.
Change committed as 281865

Powered by Google App Engine
This is Rietveld 408576698