diff options
author | abarth@chromium.org <abarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-16 00:41:18 +0000 |
---|---|---|
committer | abarth@chromium.org <abarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-16 00:41:18 +0000 |
commit | 8d2335f413f55bd140a3dad2286620a44df84ba9 (patch) | |
tree | c3d2c85590b7ed0f554c6ad959717427e3005ee7 | |
parent | fb4797181c6d5d1c724107f6c5ec3d8b95bdeb9a (diff) | |
download | chromium_src-8d2335f413f55bd140a3dad2286620a44df84ba9.zip chromium_src-8d2335f413f55bd140a3dad2286620a44df84ba9.tar.gz chromium_src-8d2335f413f55bd140a3dad2286620a44df84ba9.tar.bz2 |
I fail at reading code review comments. Second try at getting the white space right.
R=wtc
Review URL: http://codereview.chromium.org/14445
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7022 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | net/url_request/url_request_http_job.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/url_request/url_request_http_job.cc b/net/url_request/url_request_http_job.cc index 7504c54..2689064 100644 --- a/net/url_request/url_request_http_job.cc +++ b/net/url_request/url_request_http_job.cc @@ -42,7 +42,7 @@ URLRequestJob* URLRequestHttpJob::Factory(URLRequest* request, // We cache the value of the switch because this code path is hit on every // network request. static const bool kForceHTTPS = - CommandLine().HasSwitch(switches::kForceHTTPS); + CommandLine().HasSwitch(switches::kForceHTTPS); if (kForceHTTPS && scheme != "https") return new URLRequestErrorJob(request, net::ERR_DISALLOWED_URL_SCHEME); @@ -385,7 +385,7 @@ void URLRequestHttpJob::OnStartCompleted(int result) { if (result == net::OK) { NotifyHeadersComplete(); } else if (net::IsCertificateError(result) && - !CommandLine().HasSwitch(switches::kForceHTTPS)) { + !CommandLine().HasSwitch(switches::kForceHTTPS)) { // We encountered an SSL certificate error. Ask our delegate to decide // what we should do. // TODO(wtc): also pass ssl_info.cert_status, or just pass the whole |