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

Issue 9186039: Make the login WebUI listen NOTIFICATION_AUTH_SUPPLIED and update the system request context. (Closed)

Created:
8 years, 11 months ago by pastarmovj
Modified:
8 years, 11 months ago
Reviewers:
Ivan Korotkov
CC:
chromium-reviews, stevenjb+watch_chromium.org, nkostylev+watch_chromium.org, davemoore+watch_chromium.org, Nikita (slow)
Visibility:
Public.

Description

Make the login WebUI listen NOTIFICATION_AUTH_SUPPLIED and update the system request context. Possibly the user has authenticated against a proxy server and we might need the credentials for enrollment and other system requests from the main |g_browser_process| request context (see bug http://crosbug.com/24861) So we transfer any credentials to the global request context here. BUG=chromium-os:24861 TEST=Manual as described in the bug. (Requires infrastructure setup.) Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=117630

Patch Set 1 #

Total comments: 6

Patch Set 2 : Addressed comments #

Total comments: 1

Patch Set 3 : Renamed variable. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -0 lines) Patch
M chrome/browser/chromeos/login/existing_user_controller.cc View 1 2 5 chunks +65 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
pastarmovj
Hey Ivan, I have another small CL and will be grateful if you can review ...
8 years, 11 months ago (2012-01-12 17:59:48 UTC) #1
Ivan Korotkov
LGTM with nits: http://codereview.chromium.org/9186039/diff/1/chrome/browser/chromeos/login/existing_user_controller.cc File chrome/browser/chromeos/login/existing_user_controller.cc (right): http://codereview.chromium.org/9186039/diff/1/chrome/browser/chromeos/login/existing_user_controller.cc#newcode104 chrome/browser/chromeos/login/existing_user_controller.cc:104: LOG(INFO) << "Main request context populated ...
8 years, 11 months ago (2012-01-12 19:37:15 UTC) #2
pastarmovj
Addressed the issues you suggested. http://codereview.chromium.org/9186039/diff/1/chrome/browser/chromeos/login/existing_user_controller.cc File chrome/browser/chromeos/login/existing_user_controller.cc (right): http://codereview.chromium.org/9186039/diff/1/chrome/browser/chromeos/login/existing_user_controller.cc#newcode104 chrome/browser/chromeos/login/existing_user_controller.cc:104: LOG(INFO) << "Main request ...
8 years, 11 months ago (2012-01-13 10:15:44 UTC) #3
Ivan Korotkov
8 years, 11 months ago (2012-01-13 10:20:27 UTC) #4
Final LGTM with a small naming nit:

http://codereview.chromium.org/9186039/diff/6001/chrome/browser/chromeos/logi...
File chrome/browser/chromeos/login/existing_user_controller.cc (right):

http://codereview.chromium.org/9186039/diff/6001/chrome/browser/chromeos/logi...
chrome/browser/chromeos/login/existing_user_controller.cc:84: const long int
kAuthCacheTransferDelay = 2000;
kAuthCacheTransferDelayMs

Powered by Google App Engine
This is Rietveld 408576698