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

Unified Diff: chrome/browser/autocomplete/chrome_autocomplete_provider_client.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
Index: chrome/browser/autocomplete/chrome_autocomplete_provider_client.h
diff --git a/chrome/browser/autocomplete/chrome_autocomplete_provider_delegate.h b/chrome/browser/autocomplete/chrome_autocomplete_provider_client.h
similarity index 78%
rename from chrome/browser/autocomplete/chrome_autocomplete_provider_delegate.h
rename to chrome/browser/autocomplete/chrome_autocomplete_provider_client.h
index 8d3b467cb3161ab0cee30da513da352a93d1f214..c122bee127e71d8fb03fbe04613e6ffe5ce69f42 100644
--- a/chrome/browser/autocomplete/chrome_autocomplete_provider_delegate.h
+++ b/chrome/browser/autocomplete/chrome_autocomplete_provider_client.h
@@ -2,20 +2,20 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_AUTOCOMPLETE_CHROME_AUTOCOMPLETE_PROVIDER_DELEGATE_H_
-#define CHROME_BROWSER_AUTOCOMPLETE_CHROME_AUTOCOMPLETE_PROVIDER_DELEGATE_H_
+#ifndef CHROME_BROWSER_AUTOCOMPLETE_CHROME_AUTOCOMPLETE_PROVIDER_CLIENT_H_
+#define CHROME_BROWSER_AUTOCOMPLETE_CHROME_AUTOCOMPLETE_PROVIDER_CLIENT_H_
#include "chrome/browser/autocomplete/chrome_autocomplete_scheme_classifier.h"
-#include "components/omnibox/autocomplete_provider_delegate.h"
+#include "components/omnibox/autocomplete_provider_client.h"
class Profile;
-class ChromeAutocompleteProviderDelegate : public AutocompleteProviderDelegate {
+class ChromeAutocompleteProviderClient : public AutocompleteProviderClient {
public:
- explicit ChromeAutocompleteProviderDelegate(Profile* profile);
- virtual ~ChromeAutocompleteProviderDelegate();
+ explicit ChromeAutocompleteProviderClient(Profile* profile);
+ virtual ~ChromeAutocompleteProviderClient();
- // AutocompleteProviderDelegate:
+ // AutocompleteProviderClient:
virtual net::URLRequestContextGetter* RequestContext() OVERRIDE;
virtual bool IsOffTheRecord() OVERRIDE;
virtual std::string AcceptLanguages() OVERRIDE;
@@ -40,7 +40,7 @@ class ChromeAutocompleteProviderDelegate : public AutocompleteProviderDelegate {
Profile* profile_;
ChromeAutocompleteSchemeClassifier scheme_classifier_;
- DISALLOW_COPY_AND_ASSIGN(ChromeAutocompleteProviderDelegate);
+ DISALLOW_COPY_AND_ASSIGN(ChromeAutocompleteProviderClient);
};
-#endif // CHROME_BROWSER_AUTOCOMPLETE_CHROME_AUTOCOMPLETE_PROVIDER_DELEGATE_H_
+#endif // CHROME_BROWSER_AUTOCOMPLETE_CHROME_AUTOCOMPLETE_PROVIDER_CLIENT_H_

Powered by Google App Engine
This is Rietveld 408576698