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

Unified Diff: components/omnibox/base_search_provider.h

Issue 510783002: Rename AutocompleteProviderDelegate to AutocompleteProviderClient (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 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
« no previous file with comments | « components/omnibox/autocomplete_provider_delegate.h ('k') | components/omnibox/base_search_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/omnibox/base_search_provider.h
diff --git a/components/omnibox/base_search_provider.h b/components/omnibox/base_search_provider.h
index dd1cd78ff2dffadb900f3fba4829e463bea323ee..f4d3e79e06c1fc2f220bbe13a9d23d06f4506fcd 100644
--- a/components/omnibox/base_search_provider.h
+++ b/components/omnibox/base_search_provider.h
@@ -22,7 +22,7 @@
#include "components/omnibox/autocomplete_provider.h"
#include "components/omnibox/search_suggestion_parser.h"
-class AutocompleteProviderDelegate;
+class AutocompleteProviderClient;
class GURL;
class SearchTermsData;
class SuggestionDeletionHandler;
@@ -50,7 +50,7 @@ class BaseSearchProvider : public AutocompleteProvider {
static const int kDeletionURLFetcherID;
BaseSearchProvider(TemplateURLService* template_url_service,
- scoped_ptr<AutocompleteProviderDelegate> delegate,
+ scoped_ptr<AutocompleteProviderClient> client,
AutocompleteProvider::Type type);
// Returns whether |match| is flagged as a query that should be prefetched.
@@ -145,7 +145,7 @@ class BaseSearchProvider : public AutocompleteProvider {
const TemplateURL* template_url,
metrics::OmniboxEventProto::PageClassification page_classification,
const SearchTermsData& search_terms_data,
- AutocompleteProviderDelegate* delegate);
+ AutocompleteProviderClient* client);
// Returns whether we can send the URL of the current page in any suggest
// requests. Doing this requires that all the following hold:
@@ -169,7 +169,7 @@ class BaseSearchProvider : public AutocompleteProvider {
const TemplateURL* template_url,
metrics::OmniboxEventProto::PageClassification page_classification,
const SearchTermsData& search_terms_data,
- AutocompleteProviderDelegate* delegate);
+ AutocompleteProviderClient* client);
// If the |deletion_url| is valid, then set |match.deletable| to true and
// save the |deletion_url| into the |match|'s additional info under
@@ -221,7 +221,7 @@ class BaseSearchProvider : public AutocompleteProvider {
virtual void RecordDeletionResult(bool success) = 0;
TemplateURLService* template_url_service_;
- scoped_ptr<AutocompleteProviderDelegate> delegate_;
+ scoped_ptr<AutocompleteProviderClient> client_;
// Whether a field trial, if any, has triggered in the most recent
// autocomplete query. This field is set to true only if the suggestion
« no previous file with comments | « components/omnibox/autocomplete_provider_delegate.h ('k') | components/omnibox/base_search_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698