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

Issue 2478573004: Convert GURL::{host,path} to GURL::{host_piece,path_piece} for ==. (Closed)

Created:
4 years, 1 month ago by Charlie Harrison
Modified:
4 years, 1 month ago
CC:
chromium-reviews, asanka, David Black, dominickn+watch_chromium.org, skanuj+watch_chromium.org, tburkard+watch_chromium.org, dhollowa+watch_chromium.org, dougw+watch_chromium.org, nasko+codewatch_chromium.org, browser-components-watch_chromium.org, extensions-reviews_chromium.org, cbentzel+watch_chromium.org, melevin+watch_chromium.org, gavinp+disk_chromium.org, grt+watch_chromium.org, sebsg+autofillwatch_chromium.org, jam, darin-cc_chromium.org, vabr+watchlistautofill_chromium.org, chromium-apps-reviews_chromium.org, loading-reviews_chromium.org, dbeam+watch-options_chromium.org, creis+watch_chromium.org, vabr+watchlistpasswordmanager_chromium.org, ntp-dev+reviews_chromium.org, rouslan+autofill_chromium.org, Randy Smith (Not in Mondays), gavinp+prer_chromium.org, jfweitz+watch_chromium.org, kinuko+cache_chromium.org, estade+watch_chromium.org, gcasto+watchlist_chromium.org, Jered, michaeln, michaelpg+watch-options_chromium.org, csharrison+watch_chromium.org, mathp+autofillwatch_chromium.org, tfarina, donnd+watch_chromium.org, loading-reviews+metrics_chromium.org, jdonnelly+autofillwatch_chromium.org, pkotwicz+watch_chromium.org, samarth+watch_chromium.org, kmadhusu+watch_chromium.org, zpeng+watch_chromium.org, Dan Beam
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Convert GURL::{host,path} to GURL::{host_piece,path_piece} for ==. host(), path() and friends copy data into a std::string. For comparisons this is unnecessary. BUG=663729 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation Committed: https://crrev.com/88b3b717eaf289cad99f4ed87bd75e94f15ca6e5 Cr-Commit-Position: refs/heads/master@{#431952}

Patch Set 1 #

Total comments: 2

Patch Set 2 : cleanup extensions #

Patch Set 3 : rebase to #431874 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+250 lines, -243 lines) Patch
M chrome/browser/banners/app_banner_manager.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/chrome_content_browser_client.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/download/download_request_limiter.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/page_load_metrics/observers/service_worker_page_load_metrics_observer.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/policy/policy_helpers.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/prerender/prerender_util.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/renderer_context_menu/context_menu_content_type_factory.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/renderer_context_menu/render_view_context_menu.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/safe_browsing/browser_feature_extractor.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/search/iframe_source.cc View 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/browser/search/local_ntp_source.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/search/search.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/sessions/session_common_utils.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/browser.cc View 1 2 2 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/ui/browser_navigator.cc View 1 2 2 chunks +21 lines, -21 lines 0 comments Download
M chrome/browser/ui/extensions/hosted_app_browser_controller.cc View 1 chunk +4 lines, -4 lines 0 comments Download
M chrome/browser/ui/startup/startup_tab_provider.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/tabs/tab_strip_model.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc View 1 2 8 chunks +122 lines, -123 lines 0 comments Download
M chrome/browser/ui/webui/options/options_ui.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/search/search_urls.cc View 1 chunk +4 lines, -3 lines 0 comments Download
M chrome/renderer/printing/chrome_print_web_view_helper_delegate.cc View 1 2 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/utility/importer/bookmarks_file_importer.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M components/autofill/core/browser/form_structure.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/cloud_devices/common/cloud_devices_urls.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M components/history/core/browser/history_match.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M components/history/core/browser/url_utils.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M components/ntp_tiles/most_visited_sites.cc View 1 chunk +2 lines, -1 line 0 comments Download
M components/omnibox/browser/history_url_provider.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M components/omnibox/browser/omnibox_edit_model.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M components/password_manager/core/browser/password_form_manager.cc View 1 2 2 chunks +5 lines, -4 lines 0 comments Download
M components/search_engines/template_url_service.cc View 1 chunk +2 lines, -1 line 0 comments Download
M components/sessions/content/content_serialized_navigation_driver.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M components/url_formatter/url_formatter.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/appcache/appcache_quota_client.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/frame_host/debug_urls.cc View 3 chunks +12 lines, -9 lines 0 comments Download
M content/browser/loader/resource_dispatcher_host_impl.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M content/browser/net/view_blob_internals_job_factory.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/net/view_http_cache_job_factory.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/webui/content_web_ui_controller_factory.cc View 2 chunks +18 lines, -18 lines 0 comments Download
M content/browser/webui/url_data_manager_backend.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M extensions/browser/extension_error.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/http/http_stream_factory_impl_job_controller.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M net/quic/core/quic_server_id.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 43 (20 generated)
Charlie Harrison
thestig: is this a worthwhile patch? I don't have data that any of these places ...
4 years, 1 month ago (2016-11-05 00:01:03 UTC) #7
Lei Zhang
Sure. Since you already spent the time to do this. I'm wondering can we replace ...
4 years, 1 month ago (2016-11-05 00:08:29 UTC) #8
Charlie Harrison
On 2016/11/05 00:08:29, Lei Zhang wrote: > Sure. Since you already spent the time to ...
4 years, 1 month ago (2016-11-05 00:16:38 UTC) #9
vabr (Chromium)
autofill and password_manager components LGTM, thanks for the improvement! Cheers, Vaclav
4 years, 1 month ago (2016-11-07 08:43:51 UTC) #11
Charlie Harrison
On 2016/11/07 08:43:51, vabr (Chromium) wrote: > autofill and password_manager components LGTM, thanks for the ...
4 years, 1 month ago (2016-11-07 20:27:00 UTC) #12
Charlie Harrison
The linked CL is proving to be a bit difficult to get bots green, let's ...
4 years, 1 month ago (2016-11-08 14:43:00 UTC) #14
mmenke
On 2016/11/08 14:43:00, Charlie Harrison wrote: > The linked CL is proving to be a ...
4 years, 1 month ago (2016-11-08 15:02:32 UTC) #15
mmenke
On 2016/11/08 15:02:32, mmenke wrote: > On 2016/11/08 14:43:00, Charlie Harrison wrote: > > The ...
4 years, 1 month ago (2016-11-08 15:05:34 UTC) #16
Charlie Harrison
On 2016/11/08 15:05:34, mmenke wrote: > On 2016/11/08 15:02:32, mmenke wrote: > > On 2016/11/08 ...
4 years, 1 month ago (2016-11-08 15:07:25 UTC) #17
Charlie Harrison
On 2016/11/08 15:07:25, Charlie Harrison wrote: > On 2016/11/08 15:05:34, mmenke wrote: > > On ...
4 years, 1 month ago (2016-11-08 15:13:00 UTC) #18
Devlin
> +devlin for //extensions and webui/extensions I don't see a webui/extensions? But extension stuff lgtm ...
4 years, 1 month ago (2016-11-08 15:55:49 UTC) #19
Charlie Harrison
Oops sorry I meant chrome/browser/ui/extensions https://codereview.chromium.org/2478573004/diff/1/extensions/common/extension_urls.cc File extensions/common/extension_urls.cc (right): https://codereview.chromium.org/2478573004/diff/1/extensions/common/extension_urls.cc#newcode86 extensions/common/extension_urls.cc:86: } else { On ...
4 years, 1 month ago (2016-11-08 16:00:55 UTC) #20
Lei Zhang
Non-extension chrome/ bits lgtm
4 years, 1 month ago (2016-11-08 19:26:59 UTC) #21
Charlie Harrison
Thanks!! +blundell could you please take a look at //components?
4 years, 1 month ago (2016-11-08 19:30:38 UTC) #23
ncarter (slow)
content lgtm Thanks for this
4 years, 1 month ago (2016-11-08 19:33:18 UTC) #24
Charlie Harrison
+dbeam for webui/options
4 years, 1 month ago (2016-11-08 22:06:46 UTC) #26
Charlie Harrison
Alrighty let's -dbeam and +stevenjb for webui/options
4 years, 1 month ago (2016-11-08 22:16:47 UTC) #28
blundell
//components lgtm
4 years, 1 month ago (2016-11-09 10:27:25 UTC) #29
Charlie Harrison
stevenjb, friendly ping
4 years, 1 month ago (2016-11-14 13:13:47 UTC) #35
stevenjb
chrome/browser/ui/webui/options/ lgtm
4 years, 1 month ago (2016-11-14 18:23:18 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2478573004/40001
4 years, 1 month ago (2016-11-14 21:06:02 UTC) #39
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 1 month ago (2016-11-14 23:13:03 UTC) #41
commit-bot: I haz the power
4 years, 1 month ago (2016-11-14 23:22:46 UTC) #43
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/88b3b717eaf289cad99f4ed87bd75e94f15ca6e5
Cr-Commit-Position: refs/heads/master@{#431952}

Powered by Google App Engine
This is Rietveld 408576698