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

Issue 10657009: Removing last usage of default request context. Fixing up login_utils to not need it by allowing ac… (Closed)

Created:
8 years, 6 months ago by rpetterson
Modified:
8 years, 5 months ago
CC:
chromium-reviews, oshima+watch_chromium.org, stevenjb+watch_chromium.org, nkostylev+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

Removing last usage of default request context. Fixing up login_utils to not need it by adding a notification so that login_utils only accesses it when the request context getter has been initialized. BUG=125292, 127693 TEST=unittest, manual Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=145969 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=146610

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : #

Patch Set 9 : Removing last usage of default request context. Fixing up login_utils to not need it by adding a no… #

Patch Set 10 : #

Patch Set 11 : #

Patch Set 12 : #

Patch Set 13 : #

Patch Set 14 : #

Patch Set 15 : #

Patch Set 16 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+95 lines, -44 lines) Patch
M chrome/browser/chromeos/login/login_utils.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 9 chunks +78 lines, -5 lines 1 comment Download
M chrome/browser/profiles/profile.h View 1 2 3 4 5 6 7 8 3 chunks +3 lines, -17 lines 0 comments Download
M chrome/browser/profiles/profile.cc View 1 2 3 4 5 6 7 8 2 chunks +0 lines, -8 lines 0 comments Download
M chrome/browser/profiles/profile_impl.cc View 1 2 3 4 5 6 7 8 2 chunks +1 line, -14 lines 0 comments Download
M chrome/browser/profiles/profile_impl_io_data.cc View 1 2 3 4 5 6 7 8 2 chunks +7 lines, -0 lines 0 comments Download
M chrome/common/chrome_notification_types.h View 1 2 3 4 5 6 7 8 2 chunks +6 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
rpetterson
8 years, 6 months ago (2012-06-23 00:05:01 UTC) #1
willchan no longer on Chromium
Thanks for trying to fix this! I'd prefer not to expose HasMainRequestContext() if possible. Is ...
8 years, 5 months ago (2012-06-28 23:28:18 UTC) #2
rpetterson
Nikita, can you answer the question about calling it before the profile has been initialized? ...
8 years, 5 months ago (2012-06-29 00:49:41 UTC) #3
Nikita (slow)
On 2012/06/29 00:49:41, rpetterson wrote: > Nikita, can you answer the question about calling it ...
8 years, 5 months ago (2012-06-29 17:06:04 UTC) #4
rpetterson
Updated with the notification way of doing it.
8 years, 5 months ago (2012-06-29 21:54:41 UTC) #5
willchan no longer on Chromium
LGTM, thanks for the cleanup!
8 years, 5 months ago (2012-06-29 21:57:31 UTC) #6
rpetterson
Adding thakis for chrome/common owners approval.
8 years, 5 months ago (2012-06-29 22:10:03 UTC) #7
Nico
lgtm
8 years, 5 months ago (2012-06-29 22:11:31 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rlp@chromium.org/10657009/18002
8 years, 5 months ago (2012-06-29 22:43:01 UTC) #9
commit-bot: I haz the power
Try job failure for 10657009-18002 (retry) on linux_chromeos for step "compile" (clobber build). It's a ...
8 years, 5 months ago (2012-06-29 23:01:47 UTC) #10
Nikita (slow)
lgtm
8 years, 5 months ago (2012-07-02 05:33:44 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rlp@chromium.org/10657009/40002
8 years, 5 months ago (2012-07-10 20:42:51 UTC) #12
commit-bot: I haz the power
Change committed as 145969
8 years, 5 months ago (2012-07-10 22:35:52 UTC) #13
rpetterson
Removing last usage of default request context. Fixing up login_utils to not need it by ...
8 years, 5 months ago (2012-07-10 23:57:04 UTC) #14
rpetterson
Nikita, I had to add a bit more to the login_utils. PTAL?
8 years, 5 months ago (2012-07-12 20:38:39 UTC) #15
Nikita (slow)
lgtm http://codereview.chromium.org/10657009/diff/17025/chrome/browser/chromeos/login/login_utils.cc File chrome/browser/chromeos/login/login_utils.cc (right): http://codereview.chromium.org/10657009/diff/17025/chrome/browser/chromeos/login/login_utils.cc#newcode244 chrome/browser/chromeos/login/login_utils.cc:244: if (g_browser_process) { What were those tests when ...
8 years, 5 months ago (2012-07-13 12:08:11 UTC) #16
rpetterson
On 2012/07/13 12:08:11, Nikita Kostylev wrote: > lgtm > > http://codereview.chromium.org/10657009/diff/17025/chrome/browser/chromeos/login/login_utils.cc > File chrome/browser/chromeos/login/login_utils.cc (right): ...
8 years, 5 months ago (2012-07-13 16:43:48 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rlp@chromium.org/10657009/17025
8 years, 5 months ago (2012-07-13 16:44:13 UTC) #18
commit-bot: I haz the power
Try job failure for 10657009-17025 (retry) on linux_rel for step "browser_tests". It's a second try, ...
8 years, 5 months ago (2012-07-13 17:37:45 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rlp@chromium.org/10657009/17025
8 years, 5 months ago (2012-07-13 17:52:21 UTC) #20
commit-bot: I haz the power
8 years, 5 months ago (2012-07-13 19:16:20 UTC) #21
Change committed as 146610

Powered by Google App Engine
This is Rietveld 408576698