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

Issue 2727253006: Cleanup of omnibox_view_views_unittest.cc in advance of adding more to it. (Closed)

Created:
3 years, 9 months ago by Peter Kasting
Modified:
3 years, 9 months ago
Reviewers:
Mark P
CC:
chromium-reviews, jdonnelly+watch_chromium.org, tfarina
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Cleanup of omnibox_view_views_unittest.cc in advance of adding more to it. I added dividers between classes because I'm going to add a couple more classes, and the code got hard to read without them. Similarly, I pulled function definitions out-of-line in many cases because I'll be adding more functions or more complexity, and without doing this it started getting cumbersome. (I left at least one complex function inline because I'll just be deleting it anyway.) Also switched to MakeUnique in a few places. No intended functional change. BUG=none TEST=none Review-Url: https://codereview.chromium.org/2727253006 Cr-Commit-Position: refs/heads/master@{#455430} Committed: https://chromium.googlesource.com/chromium/src/+/6c4e7b6e12416d8e9fcb397b704f60d1a5f10db4

Patch Set 1 #

Total comments: 14

Patch Set 2 : Convert to loop #

Total comments: 4

Patch Set 3 : Review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+171 lines, -155 lines) Patch
M chrome/browser/ui/views/omnibox/omnibox_view_views_unittest.cc View 1 2 5 chunks +171 lines, -155 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 21 (13 generated)
Peter Kasting
3 years, 9 months ago (2017-03-04 02:41:54 UTC) #3
Peter Kasting
So, after I wrote all this, I found an easier way tonight to plumb the ...
3 years, 9 months ago (2017-03-04 05:27:22 UTC) #7
Mark P
lgtm modulo comments On 2017/03/04 05:27:22, Peter Kasting wrote: > So, after I wrote all ...
3 years, 9 months ago (2017-03-06 05:23:27 UTC) #8
Peter Kasting
PTAL at the diff against the previous patch set. I did a couple more things ...
3 years, 9 months ago (2017-03-06 21:10:44 UTC) #11
Mark P
still lgtm, with comments (note comments appear on both patchsets) --mark https://codereview.chromium.org/2727253006/diff/1/chrome/browser/ui/views/omnibox/omnibox_view_views_unittest.cc File chrome/browser/ui/views/omnibox/omnibox_view_views_unittest.cc (right): ...
3 years, 9 months ago (2017-03-07 21:10:18 UTC) #14
Peter Kasting
https://codereview.chromium.org/2727253006/diff/1/chrome/browser/ui/views/omnibox/omnibox_view_views_unittest.cc File chrome/browser/ui/views/omnibox/omnibox_view_views_unittest.cc (right): https://codereview.chromium.org/2727253006/diff/1/chrome/browser/ui/views/omnibox/omnibox_view_views_unittest.cc#newcode48 chrome/browser/ui/views/omnibox/omnibox_view_views_unittest.cc:48: void EmphasizeURLComponents() override; On 2017/03/07 21:10:18, Mark P wrote: ...
3 years, 9 months ago (2017-03-08 10:57:31 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/2727253006/40001
3 years, 9 months ago (2017-03-08 10:57:55 UTC) #18
commit-bot: I haz the power
3 years, 9 months ago (2017-03-08 11:29:47 UTC) #21
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/6c4e7b6e12416d8e9fcb397b704f...

Powered by Google App Engine
This is Rietveld 408576698