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

Issue 1897403002: Optimize URLPrefix::BestURLPrefix (Closed)

Created:
4 years, 8 months ago by Alexander Yashkin
Modified:
4 years, 8 months ago
Reviewers:
Mark P, Peter Kasting
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Optimize URLPrefix::BestURLPrefix This is attempt to optimize URLPrefix::BestURLPrefix by reducing number of redundant lowercase conversions. Also removed unused URLPrefix::IsUrlPrefix function. BUG=604848 R=pkasting@chromium.org, mpearson@chromium.org Committed: https://crrev.com/921bb35bb2563ce87c583e3821db2192d2d7dc68 Cr-Commit-Position: refs/heads/master@{#389401}

Patch Set 1 #

Total comments: 20

Patch Set 2 : Fixes after review, round 1 #

Total comments: 6

Patch Set 3 : Fixes after review, round 2 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+100 lines, -52 lines) Patch
M components/components_tests.gyp View 1 1 chunk +1 line, -0 lines 0 comments Download
M components/omnibox/browser/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
M components/omnibox/browser/url_prefix.h View 2 chunks +0 lines, -10 lines 0 comments Download
M components/omnibox/browser/url_prefix.cc View 1 2 3 chunks +42 lines, -42 lines 0 comments Download
A components/omnibox/browser/url_prefix_unittest.cc View 1 2 1 chunk +56 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (3 generated)
Mark P
I noticed you added me and Peter as reviewers for this change but did not ...
4 years, 8 months ago (2016-04-22 21:34:50 UTC) #1
Peter Kasting
https://codereview.chromium.org/1897403002/diff/1/components/omnibox/browser/url_prefix.cc File components/omnibox/browser/url_prefix.cc (right): https://codereview.chromium.org/1897403002/diff/1/components/omnibox/browser/url_prefix.cc#newcode19 components/omnibox/browser/url_prefix.cc:19: for (const URLPrefix& prefix : list) Nit: {} https://codereview.chromium.org/1897403002/diff/1/components/omnibox/browser/url_prefix.cc#newcode26 ...
4 years, 8 months ago (2016-04-23 00:31:02 UTC) #2
Alexander Yashkin
https://codereview.chromium.org/1897403002/diff/1/components/omnibox/browser/url_prefix.cc File components/omnibox/browser/url_prefix.cc (right): https://codereview.chromium.org/1897403002/diff/1/components/omnibox/browser/url_prefix.cc#newcode19 components/omnibox/browser/url_prefix.cc:19: for (const URLPrefix& prefix : list) On 2016/04/23 00:31:01, ...
4 years, 8 months ago (2016-04-23 08:40:20 UTC) #3
Peter Kasting
LGTM https://codereview.chromium.org/1897403002/diff/20001/components/omnibox/browser/url_prefix.cc File components/omnibox/browser/url_prefix.cc (right): https://codereview.chromium.org/1897403002/diff/20001/components/omnibox/browser/url_prefix.cc#newcode14 components/omnibox/browser/url_prefix.cc:14: // It accepts input text and prefix suffix ...
4 years, 8 months ago (2016-04-23 19:51:30 UTC) #4
Alexander Yashkin
https://codereview.chromium.org/1897403002/diff/20001/components/omnibox/browser/url_prefix.cc File components/omnibox/browser/url_prefix.cc (right): https://codereview.chromium.org/1897403002/diff/20001/components/omnibox/browser/url_prefix.cc#newcode14 components/omnibox/browser/url_prefix.cc:14: // It accepts input text and prefix suffix already ...
4 years, 8 months ago (2016-04-24 07:18:50 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1897403002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1897403002/40001
4 years, 8 months ago (2016-04-24 07:19:19 UTC) #8
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 8 months ago (2016-04-24 08:17:22 UTC) #9
commit-bot: I haz the power
4 years, 8 months ago (2016-04-24 08:18:55 UTC) #11
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/921bb35bb2563ce87c583e3821db2192d2d7dc68
Cr-Commit-Position: refs/heads/master@{#389401}

Powered by Google App Engine
This is Rietveld 408576698