Eliminate OMNIBOX_OPENED_URL notification and its last usage
commite610769d5e7dd8eb701415cd085b1cb65699dedc
authorblundell <blundell@chromium.org>
Wed, 19 Aug 2015 16:02:22 +0000 (19 09:02 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 19 Aug 2015 16:03:36 +0000 (19 16:03 +0000)
tree6adee4441d1c6d44704e4e5461894c64b49fa902
parent8a2254011e487d2abaa6d9f81bbb25466fad672d
Eliminate OMNIBOX_OPENED_URL notification and its last usage

The usage of this notification is impeding iOS upstreaming (see bug for
details). This CL eliminates the last listener by having the two senders of the
notification instead call the listener directly. It additionally eliminates the
notification itself.

BUG=517885

Review URL: https://codereview.chromium.org/1281933002

Cr-Commit-Position: refs/heads/master@{#344240}
chrome/browser/android/omnibox/autocomplete_controller_android.cc
chrome/browser/chrome_notification_types.h
chrome/browser/predictors/autocomplete_action_predictor.cc
chrome/browser/predictors/autocomplete_action_predictor.h
chrome/browser/ui/omnibox/chrome_omnibox_client.cc
chrome/browser/ui/omnibox/chrome_omnibox_navigation_observer.h
components/omnibox/browser/omnibox_client.h