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

Unified Diff: chrome/browser/autocomplete/zero_suggest_provider.h

Issue 22364007: AutocompleteInput::PageClassification -> AutocompleteInput::OmniboxContext. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/autocomplete/zero_suggest_provider.h
diff --git a/chrome/browser/autocomplete/zero_suggest_provider.h b/chrome/browser/autocomplete/zero_suggest_provider.h
index c53c9eef31726394dce749a9b3f75f298f2c94b2..9ce323164364172915f6834d889a489bf286f608 100644
--- a/chrome/browser/autocomplete/zero_suggest_provider.h
+++ b/chrome/browser/autocomplete/zero_suggest_provider.h
@@ -70,12 +70,12 @@ class ZeroSuggestProvider : public AutocompleteProvider,
// net::URLFetcherDelegate
virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE;
- // Initiates a new fetch for the given |url| of classification
- // |page_classification|. |permanent_text| is the omnibox text
- // for the current page.
+ // Initiates a new fetch for the given |url|. |omnibox_context| is the
+ // current user context. |permanent_text| is the omnibox text for the current
+ // page.
void StartZeroSuggest(
const GURL& url,
- AutocompleteInput::PageClassification page_classification,
+ AutocompleteInput::OmniboxContext omnibox_context,
const string16& permanent_text);
private:
@@ -147,7 +147,7 @@ class ZeroSuggestProvider : public AutocompleteProvider,
// The type of page the user is viewing (a search results page doing search
// term replacement, an arbitrary URL, etc.).
- AutocompleteInput::PageClassification current_page_classification_;
+ AutocompleteInput::OmniboxContext omnibox_context_;
// Copy of OmniboxEditModel::permanent_text_.
string16 permanent_text_;

Powered by Google App Engine
This is Rietveld 408576698