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

Issue 235030: Fix the proxy host and port string to start with http:// if it does not already. (Closed)

Created:
11 years, 3 months ago by Mike Mammarella
Modified:
9 years, 7 months ago
Reviewers:
eroman
CC:
chromium-reviews_googlegroups.com, ben+cc_chromium.org
Visibility:
Public.

Description

Fix the proxy host and port string to start with http:// if it does not already. BUG=21218 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=30018

Patch Set 1 #

Total comments: 1

Patch Set 2 : '' #

Patch Set 3 : '' #

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

Messages

Total messages: 3 (0 generated)
eroman
http://codereview.chromium.org/235030/diff/1/2 File chrome/browser/login_prompt.cc (right): http://codereview.chromium.org/235030/diff/1/2#newcode117 Line 117: if (origin.find("http://") != 0 && origin.find("https://") != 0) ...
11 years, 2 months ago (2009-10-03 01:40:47 UTC) #1
Mike Mammarella
On 2009/10/03 01:40:47, eroman wrote: > http://codereview.chromium.org/235030/diff/1/2 > File chrome/browser/login_prompt.cc (right): > > http://codereview.chromium.org/235030/diff/1/2#newcode117 > ...
11 years, 2 months ago (2009-10-03 01:57:28 UTC) #2
eroman
11 years, 2 months ago (2009-10-03 02:09:57 UTC) #3
> Paranoia. :)
> But it could be changed to a DCHECK or something instead.

I would take those checks out (as that is not the format we expect host_and_port
to be in), but DCHECKs are fine with me.

otherwise LGTM.

Powered by Google App Engine
This is Rietveld 408576698