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

Issue 2686853004: Move IsAboutBlank from url_utils to GURL (Closed)

Created:
3 years, 10 months ago by clamy
Modified:
3 years, 10 months ago
Reviewers:
brettw
CC:
chromium-reviews, jam, darin-cc_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move IsAboutBlank from url_utils to GURL https://codereview.chromium.org/2644133002/ introduced a IsAboutBlank function to recognize urls of the form about:blank/#foo & about:blank?foo. It was mistaknely placed in url_utils.h which should not depend on GURL. This CL moves the function to GURL.h. BUG=575210 Review-Url: https://codereview.chromium.org/2686853004 Cr-Commit-Position: refs/heads/master@{#449624} Committed: https://chromium.googlesource.com/chromium/src/+/12bca18ba5d9a9756cbe87bbc10c92ea7e402f9a

Patch Set 1 #

Total comments: 2

Patch Set 2 : Addressed nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+92 lines, -100 lines) Patch
M content/browser/child_process_security_policy_impl.cc View 2 chunks +1 line, -2 lines 0 comments Download
M content/common/navigation_params.cc View 2 chunks +1 line, -2 lines 0 comments Download
M url/gurl.h View 1 chunk +4 lines, -0 lines 0 comments Download
M url/gurl.cc View 1 1 chunk +13 lines, -0 lines 0 comments Download
M url/gurl_unittest.cc View 1 chunk +73 lines, -0 lines 0 comments Download
M url/url_util.h View 2 chunks +0 lines, -6 lines 0 comments Download
M url/url_util.cc View 2 chunks +0 lines, -16 lines 0 comments Download
M url/url_util_unittest.cc View 2 chunks +0 lines, -74 lines 0 comments Download

Messages

Total messages: 15 (10 generated)
clamy
@brettw: PTAL. This is a follow up on https://codereview.chromium.org/2644133002/. Unfortunately, using EqualsIgnoringRef does not work ...
3 years, 10 months ago (2017-02-09 15:00:32 UTC) #7
brettw
LGTM, thanks! https://codereview.chromium.org/2686853004/diff/1/url/gurl.cc File url/gurl.cc (right): https://codereview.chromium.org/2686853004/diff/1/url/gurl.cc#newcode355 url/gurl.cc:355: if (has_host() || has_username() || has_password() || ...
3 years, 10 months ago (2017-02-09 20:30:29 UTC) #8
clamy
Thanks! https://codereview.chromium.org/2686853004/diff/1/url/gurl.cc File url/gurl.cc (right): https://codereview.chromium.org/2686853004/diff/1/url/gurl.cc#newcode355 url/gurl.cc:355: if (has_host() || has_username() || has_password() || has_port()) ...
3 years, 10 months ago (2017-02-10 13:17:22 UTC) #9
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/2686853004/20001
3 years, 10 months ago (2017-02-10 13:17:48 UTC) #12
commit-bot: I haz the power
3 years, 10 months ago (2017-02-10 15:33:47 UTC) #15
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/12bca18ba5d9a9756cbe87bbc10c...

Powered by Google App Engine
This is Rietveld 408576698