diff options
author | cdn@chromium.org <cdn@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-22 01:43:33 +0000 |
---|---|---|
committer | cdn@chromium.org <cdn@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-22 01:43:33 +0000 |
commit | 91f568903f5d067e7a82b2543434ba13b9dee9ef (patch) | |
tree | be24ab4ddd5fbc657bef13e3b5cf7ad83a82fcce /chrome_frame | |
parent | 31268815420a038ad43ba7808862f97a8a129801 (diff) | |
download | chromium_src-91f568903f5d067e7a82b2543434ba13b9dee9ef.zip chromium_src-91f568903f5d067e7a82b2543434ba13b9dee9ef.tar.gz chromium_src-91f568903f5d067e7a82b2543434ba13b9dee9ef.tar.bz2 |
Introduce GURL::SchemeIsHttpFamily(), which returns true for http and https.
BUG=274679
TEST=N/A
TBR=cbentzel, jamesr, simonjam, tzik, stevet, mpcomplete
Review URL: https://chromiumcodereview.appspot.com/23064011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@218893 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame')
-rw-r--r-- | chrome_frame/test/net/test_automation_provider.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome_frame/test/net/test_automation_provider.cc b/chrome_frame/test/net/test_automation_provider.cc index 496e943..9acec9a 100644 --- a/chrome_frame/test/net/test_automation_provider.cc +++ b/chrome_frame/test/net/test_automation_provider.cc @@ -77,7 +77,7 @@ net::URLRequestJob* TestAutomationProvider::Factory( if (CFTestsDisabled()) return NULL; - if (request->url().SchemeIs("http") || request->url().SchemeIs("https")) { + if (request->url().SchemeIsHTTPOrHTTPS()) { // Only look at requests that don't have any user data. // ResourceDispatcherHost uses the user data for requests that it manages. // We don't want to mess with those. |