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

Issue 2048693003: Misc. omnibox cleanup: (Closed)

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

Description

Misc. omnibox cleanup: * NULL -> nullptr * unix_hacker()-style functions should be inlined * Add convenience wrapper in OmniboxEditModel for popup IsOpen() checks and use it everywhere (this results in us adding null checks in a few places that didn't have them, which is necessary for an upcoming change) * UTF8ToUTF16() -> ASCIIToUTF16() * Avoid using directives * Collapse common setup in edit unittests into the test base class BUG=none TEST=none Committed: https://crrev.com/5c074479ad4691cda5033a909d33727572c7997b Cr-Commit-Position: refs/heads/master@{#398999}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Resync #

Unified diffs Side-by-side diffs Delta from patch set Stats (+116 lines, -107 lines) Patch
M components/omnibox/browser/autocomplete_controller.cc View 3 chunks +7 lines, -6 lines 0 comments Download
M components/omnibox/browser/history_url_provider.cc View 1 8 chunks +13 lines, -13 lines 0 comments Download
M components/omnibox/browser/omnibox_controller.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M components/omnibox/browser/omnibox_edit_model.h View 1 3 chunks +6 lines, -2 lines 0 comments Download
M components/omnibox/browser/omnibox_edit_model.cc View 1 20 chunks +36 lines, -38 lines 0 comments Download
M components/omnibox/browser/omnibox_edit_unittest.cc View 1 6 chunks +52 lines, -46 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 14 (6 generated)
Peter Kasting
https://codereview.chromium.org/2048693003/diff/1/components/omnibox/browser/omnibox_edit_unittest.cc File components/omnibox/browser/omnibox_edit_unittest.cc (right): https://codereview.chromium.org/2048693003/diff/1/components/omnibox/browser/omnibox_edit_unittest.cc#newcode343 components/omnibox/browser/omnibox_edit_unittest.cc:343: // Test if the model updates the inline autocomplete ...
4 years, 6 months ago (2016-06-08 01:11:21 UTC) #2
Mark P
lgtm https://codereview.chromium.org/2048693003/diff/1/components/omnibox/browser/omnibox_edit_unittest.cc File components/omnibox/browser/omnibox_edit_unittest.cc (right): https://codereview.chromium.org/2048693003/diff/1/components/omnibox/browser/omnibox_edit_unittest.cc#newcode254 components/omnibox/browser/omnibox_edit_unittest.cc:254: const TestingOmniboxView& view() { return view_; } nit: ...
4 years, 6 months ago (2016-06-08 21:41:40 UTC) #3
Peter Kasting
https://codereview.chromium.org/2048693003/diff/1/components/omnibox/browser/omnibox_edit_unittest.cc File components/omnibox/browser/omnibox_edit_unittest.cc (right): https://codereview.chromium.org/2048693003/diff/1/components/omnibox/browser/omnibox_edit_unittest.cc#newcode254 components/omnibox/browser/omnibox_edit_unittest.cc:254: const TestingOmniboxView& view() { return view_; } On 2016/06/08 ...
4 years, 6 months ago (2016-06-08 21:46:42 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2048693003/1
4 years, 6 months ago (2016-06-08 21:47:46 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/197481)
4 years, 6 months ago (2016-06-08 21:56:43 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2048693003/20001
4 years, 6 months ago (2016-06-09 19:20:56 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 6 months ago (2016-06-09 20:31:50 UTC) #12
commit-bot: I haz the power
4 years, 6 months ago (2016-06-09 20:33:08 UTC) #14
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/5c074479ad4691cda5033a909d33727572c7997b
Cr-Commit-Position: refs/heads/master@{#398999}

Powered by Google App Engine
This is Rietveld 408576698