summaryrefslogtreecommitdiffstats
path: root/chrome/browser/android/omnibox/autocomplete_controller_android.h
diff options
context:
space:
mode:
authormukai@chromium.org <mukai@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-20 16:56:03 +0000
committermukai@chromium.org <mukai@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-20 16:56:03 +0000
commit332d17d2d2889750fd87da90c2d9a796163e981c (patch)
tree584667b51d7aa63b058606adc8027946ead2046f /chrome/browser/android/omnibox/autocomplete_controller_android.h
parentac8a16bc1ec072211e6e24a781d0bfd19c6ad9b8 (diff)
downloadchromium_src-332d17d2d2889750fd87da90c2d9a796163e981c.zip
chromium_src-332d17d2d2889750fd87da90c2d9a796163e981c.tar.gz
chromium_src-332d17d2d2889750fd87da90c2d9a796163e981c.tar.bz2
Remove AutocompleteInput Type and PageClassification.
They are just as same as the enums defined in .proto files. Removing the declaration of these types reduces unnecessary code dependency to autocomplete. BUG=384232 R=blundell@chromium.org, mpearson@chromium.org, pkasting@chromium.org TBR=brettw@chromium.org, cpu@chromium.org, miguelg@chromium.org, mpcomplete@chromium.org TEST=compile succeeds Review URL: https://codereview.chromium.org/343523003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278722 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/android/omnibox/autocomplete_controller_android.h')
-rw-r--r--chrome/browser/android/omnibox/autocomplete_controller_android.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/android/omnibox/autocomplete_controller_android.h b/chrome/browser/android/omnibox/autocomplete_controller_android.h
index 582a350..dc378ec 100644
--- a/chrome/browser/android/omnibox/autocomplete_controller_android.h
+++ b/chrome/browser/android/omnibox/autocomplete_controller_android.h
@@ -15,6 +15,7 @@
#include "chrome/browser/autocomplete/autocomplete_input.h"
#include "components/keyed_service/content/browser_context_keyed_service_factory.h"
#include "components/keyed_service/core/keyed_service.h"
+#include "components/metrics/proto/omnibox_event.pb.h"
#include "content/public/browser/notification_observer.h"
#include "content/public/browser/notification_registrar.h"
#include "content/public/browser/notification_service.h"
@@ -111,7 +112,7 @@ class AutocompleteControllerAndroid : public AutocompleteControllerDelegate,
const AutocompleteResult& autocomplete_result);
// Classifies the type of page we are on.
- AutocompleteInput::PageClassification ClassifyPage(
+ metrics::OmniboxEventProto::PageClassification ClassifyPage(
const GURL& gurl,
bool is_query_in_omnibox,
bool focused_from_fakebox) const;