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

Issue 2861183002: Google search subdomains included for Safesearch (Closed)

Created:
3 years, 7 months ago by igorcov
Modified:
3 years, 7 months ago
CC:
chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Google search subdomains included for Safesearch This also fixes the Google homepage URL and the case for trailing dots. BUG=670412 Review-Url: https://codereview.chromium.org/2861183002 Cr-Commit-Position: refs/heads/master@{#471297} Committed: https://chromium.googlesource.com/chromium/src/+/a66d812aa78debb856c1938f439e98feabeaeada

Patch Set 1 #

Total comments: 8

Patch Set 2 : Fixed review comments #

Total comments: 4

Patch Set 3 : Fixed review comments #

Total comments: 19

Patch Set 4 : Fixed review comments #

Total comments: 2

Patch Set 5 : Nits #

Patch Set 6 : Formatting #

Unified diffs Side-by-side diffs Delta from patch set Stats (+87 lines, -32 lines) Patch
M components/google/core/browser/google_util.cc View 1 2 3 4 5 chunks +37 lines, -5 lines 0 comments Download
M components/google/core/browser/google_util_unittest.cc View 1 2 3 4 5 2 chunks +50 lines, -27 lines 0 comments Download

Messages

Total messages: 35 (13 generated)
igorcov
atwilson@ Please take a look. I've included only the subdomains I know about, since we ...
3 years, 7 months ago (2017-05-05 16:01:24 UTC) #3
Andrew T Wilson (Slow)
Mostly LG https://codereview.chromium.org/2861183002/diff/1/components/google/core/browser/google_util.cc File components/google/core/browser/google_util.cc (right): https://codereview.chromium.org/2861183002/diff/1/components/google/core/browser/google_util.cc#newcode44 components/google/core/browser/google_util.cc:44: const std::set<base::StringPiece> gGoogleSearchSubdomains{"ipv4.google.com", This is a relatively ...
3 years, 7 months ago (2017-05-09 13:36:47 UTC) #4
igorcov
Thanks Drew. I've addressed the comments. https://codereview.chromium.org/2861183002/diff/1/components/google/core/browser/google_util.cc File components/google/core/browser/google_util.cc (right): https://codereview.chromium.org/2861183002/diff/1/components/google/core/browser/google_util.cc#newcode44 components/google/core/browser/google_util.cc:44: const std::set<base::StringPiece> gGoogleSearchSubdomains{"ipv4.google.com", ...
3 years, 7 months ago (2017-05-10 13:25:21 UTC) #5
igorcov
isherman@chromium.org: Please review changes. Thank you.
3 years, 7 months ago (2017-05-10 13:26:50 UTC) #7
Andrew T Wilson (Slow)
https://codereview.chromium.org/2861183002/diff/20001/components/google/core/browser/google_util.cc File components/google/core/browser/google_util.cc (right): https://codereview.chromium.org/2861183002/diff/20001/components/google/core/browser/google_util.cc#newcode235 components/google/core/browser/google_util.cc:235: host = host.substr(0, host.length() - 1); This is fine, ...
3 years, 7 months ago (2017-05-10 14:54:17 UTC) #8
igorcov
https://codereview.chromium.org/2861183002/diff/20001/components/google/core/browser/google_util.cc File components/google/core/browser/google_util.cc (right): https://codereview.chromium.org/2861183002/diff/20001/components/google/core/browser/google_util.cc#newcode235 components/google/core/browser/google_util.cc:235: host = host.substr(0, host.length() - 1); On 2017/05/10 14:54:17, ...
3 years, 7 months ago (2017-05-10 16:19:57 UTC) #9
Ilya Sherman
+Peter who knows more about the finer details of Google domain identification. In the meantime, ...
3 years, 7 months ago (2017-05-11 00:33:36 UTC) #11
Peter Kasting
LGTM https://codereview.chromium.org/2861183002/diff/40001/components/google/core/browser/google_util.cc File components/google/core/browser/google_util.cc (right): https://codereview.chromium.org/2861183002/diff/40001/components/google/core/browser/google_util.cc#newcode44 components/google/core/browser/google_util.cc:44: const char* const gGoogleSearchSubdomains[] = {"ipv4.google.com", On 2017/05/11 ...
3 years, 7 months ago (2017-05-11 00:48:08 UTC) #12
igorcov
Thank you for review. I've addressed the comments, please take a look again. https://codereview.chromium.org/2861183002/diff/40001/components/google/core/browser/google_util.cc File ...
3 years, 7 months ago (2017-05-11 11:30:05 UTC) #13
Peter Kasting
LGTM https://codereview.chromium.org/2861183002/diff/40001/components/google/core/browser/google_util_unittest.cc File components/google/core/browser/google_util_unittest.cc (right): https://codereview.chromium.org/2861183002/diff/40001/components/google/core/browser/google_util_unittest.cc#newcode141 components/google/core/browser/google_util_unittest.cc:141: // the url parameter or the hash fragment. ...
3 years, 7 months ago (2017-05-11 15:37:59 UTC) #14
igorcov
https://codereview.chromium.org/2861183002/diff/60001/components/google/core/browser/google_util.cc File components/google/core/browser/google_util.cc (right): https://codereview.chromium.org/2861183002/diff/60001/components/google/core/browser/google_util.cc#newcode181 components/google/core/browser/google_util.cc:181: NOTREACHED(); On 2017/05/11 15:37:59, Peter Kasting wrote: > So, ...
3 years, 7 months ago (2017-05-11 16:38:16 UTC) #15
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/2861183002/80001
3 years, 7 months ago (2017-05-11 16:38:57 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/424304)
3 years, 7 months ago (2017-05-11 18:34:47 UTC) #20
Ilya Sherman
LGTM too, thanks. https://codereview.chromium.org/2861183002/diff/40001/components/google/core/browser/google_util_unittest.cc File components/google/core/browser/google_util_unittest.cc (right): https://codereview.chromium.org/2861183002/diff/40001/components/google/core/browser/google_util_unittest.cc#newcode141 components/google/core/browser/google_util_unittest.cc:141: // the url parameter or the ...
3 years, 7 months ago (2017-05-11 19:15:04 UTC) #21
Ilya Sherman
https://codereview.chromium.org/2861183002/diff/40001/components/google/core/browser/google_util_unittest.cc File components/google/core/browser/google_util_unittest.cc (right): https://codereview.chromium.org/2861183002/diff/40001/components/google/core/browser/google_util_unittest.cc#newcode141 components/google/core/browser/google_util_unittest.cc:141: // the url parameter or the hash fragment. On ...
3 years, 7 months ago (2017-05-11 19:59:17 UTC) #22
igorcov
Thanks Ilya, I've added the comma and we have the closed bracked where it belongs ...
3 years, 7 months ago (2017-05-12 10:37:25 UTC) #23
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/2861183002/100001
3 years, 7 months ago (2017-05-12 10:37:47 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/383038)
3 years, 7 months ago (2017-05-12 11:08:50 UTC) #28
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/2861183002/100001
3 years, 7 months ago (2017-05-12 13:20:14 UTC) #30
commit-bot: I haz the power
Committed patchset #6 (id:100001) as https://chromium.googlesource.com/chromium/src/+/a66d812aa78debb856c1938f439e98feabeaeada
3 years, 7 months ago (2017-05-12 13:41:06 UTC) #33
Peter Kasting
On 2017/05/12 10:37:25, igorcov wrote: > Thanks Ilya, I've added the comma and we have ...
3 years, 7 months ago (2017-05-12 20:09:29 UTC) #34
Ilya Sherman
3 years, 7 months ago (2017-05-12 21:21:01 UTC) #35
Message was sent while issue was closed.
On 2017/05/12 20:09:29, Peter Kasting wrote:
> On 2017/05/12 10:37:25, igorcov wrote:
> > Thanks Ilya, I've added the comma and we have the closed bracked where it
> > belongs now. But, the strings haven't been put in separate lines. Will have
to
> > live with that.
> 
> Is that a case where git cl format gets angry if they're on one line?  If so,
I
> would definitely file a bug for this one.

I filed https://bugs.chromium.org/p/chromium/issues/detail?id=721911 for this.

Powered by Google App Engine
This is Rietveld 408576698