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

Issue 23064011: Consolidate scheme checks into an easy GURL method (Closed)

Created:
7 years, 4 months ago by Cris Neckar
Modified:
7 years, 4 months ago
CC:
chromium-reviews, asanka, extensions-reviews_chromium.org, cbentzel+watch_chromium.org, jar (doing other things), feature-media-reviews_chromium.org, tburkard+watch_chromium.org, grt+watch_chromium.org, amit, jam, joi+watch-content_chromium.org, gavinp+prer_chromium.org, dominich+watch_chromium.org, robertshield, tzik+watch_chromium.org, asvitkine+watch_chromium.org, darin-cc_chromium.org, chromium-apps-reviews_chromium.org, kinuko+watch, benjhayden+dwatch_chromium.org, Ilya Sherman, jshin+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Introduce GURL::SchemeIsHttpFamily(), which returns true for http and https. BUG=274679 TEST=N/A TBR=cbentzel, jamesr, simonjam, tzik, stevet, mpcomplete Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=218893

Patch Set 1 #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -40 lines) Patch
M chrome/browser/android/intercept_download_resource_throttle.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/dial/dial_device_data.cc View 1 2 3 4 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/google/google_util.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/metrics/variations/variations_http_header_provider.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/net/predictor.cc View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/net/predictor_tab_helper.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/prerender/prerender_histograms.cc View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/prerender/prerender_manager.cc View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/prerender/prerender_util.h View 1 2 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/browser/prerender/prerender_util.cc View 1 2 3 4 2 chunks +1 line, -5 lines 0 comments Download
M chrome/common/extensions/manifest_url_handler.cc View 1 2 3 4 2 chunks +2 lines, -3 lines 0 comments Download
M chrome_frame/test/net/test_automation_provider.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M content/browser/download/file_metadata_mac.mm View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M content/browser/loader/resource_dispatcher_host_impl.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/media/webmediaplayer_impl.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/npapi/webplugin_impl.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/savable_resources.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M net/base/mime_sniffer.cc View 1 2 3 4 1 chunk +1 line, -2 lines 0 comments Download
M net/base/network_change_notifier.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M net/http/http_auth_cache.cc View 1 2 3 4 1 chunk +1 line, -2 lines 0 comments Download
M net/http/http_util_icu.cc View 1 2 3 4 2 chunks +2 lines, -3 lines 0 comments Download
M net/proxy/proxy_script_fetcher_impl.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M url/gurl.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M url/gurl.cc View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 25 (0 generated)
Cris Neckar
7 years, 4 months ago (2013-08-16 20:49:17 UTC) #1
abarth-chromium
https://codereview.chromium.org/23064011/diff/5001/url/gurl.h File url/gurl.h (right): https://codereview.chromium.org/23064011/diff/5001/url/gurl.h#newcode207 url/gurl.h:207: bool SchemeIsHttp() const; SchemeIsHttpFamily? It would surprise me if ...
7 years, 4 months ago (2013-08-19 18:10:26 UTC) #2
abarth-chromium
https://codereview.chromium.org/23064011/diff/5001/chrome/browser/prerender/prerender_util.cc File chrome/browser/prerender/prerender_util.cc (right): https://codereview.chromium.org/23064011/diff/5001/chrome/browser/prerender/prerender_util.cc#newcode84 chrome/browser/prerender/prerender_util.cc:84: } Shoudl we just inline this function into its ...
7 years, 4 months ago (2013-08-19 18:11:49 UTC) #3
Cris Neckar
On 2013/08/19 18:10:26, abarth wrote: > https://codereview.chromium.org/23064011/diff/5001/url/gurl.h > File url/gurl.h (right): > > https://codereview.chromium.org/23064011/diff/5001/url/gurl.h#newcode207 > ...
7 years, 4 months ago (2013-08-19 18:12:47 UTC) #4
Cris Neckar
On 2013/08/19 18:12:47, Cris Neckar wrote: > On 2013/08/19 18:10:26, abarth wrote: > > https://codereview.chromium.org/23064011/diff/5001/url/gurl.h ...
7 years, 4 months ago (2013-08-19 18:14:00 UTC) #5
abarth-chromium
On 2013/08/19 18:14:00, Cris Neckar wrote: > Or SchemeIsWeb... Either works for me. ftp is ...
7 years, 4 months ago (2013-08-19 18:56:10 UTC) #6
Cris Neckar
https://codereview.chromium.org/23064011/diff/5001/chrome/browser/prerender/prerender_util.cc File chrome/browser/prerender/prerender_util.cc (right): https://codereview.chromium.org/23064011/diff/5001/chrome/browser/prerender/prerender_util.cc#newcode84 chrome/browser/prerender/prerender_util.cc:84: } On 2013/08/19 18:11:49, abarth wrote: > Shoudl we ...
7 years, 4 months ago (2013-08-19 20:15:48 UTC) #7
abarth-chromium
url/ <--- lgtm
7 years, 4 months ago (2013-08-19 20:18:36 UTC) #8
Cris Neckar
owners reviews please :) chrome/browser/android/ nyquist@chromium.org chrome/browser/extensions/api/dial justinlin@chromium.org chrome/browser/google/ pkasting@chromium.org chrome/browser/metrics/variations stevet@chromium.org chrome/browser/prerender cbentzel@chromium.org chrome/common/extensions ...
7 years, 4 months ago (2013-08-20 17:57:25 UTC) #9
Peter Kasting
On 2013/08/20 17:57:25, Cris Neckar wrote: > owners reviews please :) For mechanical changes like ...
7 years, 4 months ago (2013-08-20 18:01:23 UTC) #10
Randy Smith (Not in Mondays)
content/browser/download/* and net/* LGTM.
7 years, 4 months ago (2013-08-20 18:02:38 UTC) #11
justinlin
chrome/browser/extensions/api/dial/* LGTM
7 years, 4 months ago (2013-08-20 18:13:41 UTC) #12
cdn1
Thanks Peter, I was just going to TBR anyone I didn't hear back from today. ...
7 years, 4 months ago (2013-08-20 18:32:20 UTC) #13
DaleCurtis
content/renderer/media lgtm
7 years, 4 months ago (2013-08-20 18:37:08 UTC) #14
jamesr
Just one content/ and one chrome/ owners should be fine, or just TBR. It's not ...
7 years, 4 months ago (2013-08-20 18:55:19 UTC) #15
grt (UTC plus 2)
chrome_frame/ LGTM. Please make the CL description a little more descriptive so that readers know ...
7 years, 4 months ago (2013-08-20 19:57:49 UTC) #16
nyquist
chrome/browser/android/ LGTM
7 years, 4 months ago (2013-08-20 21:05:44 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/cdn@chromium.org/23064011/14001
7 years, 4 months ago (2013-08-20 21:32:09 UTC) #18
abarth-chromium
On 2013/08/20 18:32:20, cdn1 wrote: > Adam, any preference on naming? "Family" seems less clunky ...
7 years, 4 months ago (2013-08-20 21:43:39 UTC) #19
tzik
w/b/f LGTM
7 years, 4 months ago (2013-08-21 02:30:11 UTC) #20
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=21590
7 years, 4 months ago (2013-08-21 03:54:24 UTC) #21
grt (UTC plus 2)
On 2013/08/20 19:57:49, grt wrote: > Please make the CL description a little more descriptive ...
7 years, 4 months ago (2013-08-21 14:50:12 UTC) #22
Cris Neckar
On 2013/08/21 14:50:12, grt wrote: > On 2013/08/20 19:57:49, grt wrote: > > Please make ...
7 years, 4 months ago (2013-08-21 17:21:45 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/cdn@chromium.org/23064011/34001
7 years, 4 months ago (2013-08-21 17:40:58 UTC) #24
commit-bot: I haz the power
7 years, 4 months ago (2013-08-22 01:43:38 UTC) #25
Message was sent while issue was closed.
Change committed as 218893

Powered by Google App Engine
This is Rietveld 408576698