Index: chrome/browser/ui/omnibox/omnibox_edit_model.h |
diff --git a/chrome/browser/ui/omnibox/omnibox_edit_model.h b/chrome/browser/ui/omnibox/omnibox_edit_model.h |
index afc9be70815226472a54d287f691749d2cf92137..7bbdbacea91e04857dd080b6c342fa5d0364321b 100644 |
--- a/chrome/browser/ui/omnibox/omnibox_edit_model.h |
+++ b/chrome/browser/ui/omnibox/omnibox_edit_model.h |
@@ -392,11 +392,11 @@ class OmniboxEditModel { |
// keyword. |
static bool IsSpaceCharForAcceptingKeyword(wchar_t c); |
- // Classify the current page being viewed as, for example, the new tab |
- // page or a normal web page. Used for logging omnibox events for |
- // UMA opted-in users. Examines the user's profile to determine if the |
- // current page is the user's home page. |
- AutocompleteInput::PageClassification ClassifyPage() const; |
+ // Returns the user's context for the current input: for example, the fakebox |
+ // on the InstantExtended new tab page or a normal web page. Used for logging |
+ // omnibox events for UMA opted-in users. Examines the user's profile to |
+ // determine if the current page is the user's home page. |
+ AutocompleteInput::OmniboxContext GetOmniboxContext() const; |
// Sets |match| and |alternate_nav_url| based on classifying |text|. |
// |alternate_nav_url| may be NULL. |