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

Unified Diff: chrome/browser/autocomplete/chrome_autocomplete_provider_delegate.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_delegate.h
diff --git a/chrome/browser/autocomplete/chrome_autocomplete_provider_delegate.h b/chrome/browser/autocomplete/chrome_autocomplete_provider_delegate.h
deleted file mode 100644
index 8d3b467cb3161ab0cee30da513da352a93d1f214..0000000000000000000000000000000000000000
--- a/chrome/browser/autocomplete/chrome_autocomplete_provider_delegate.h
+++ /dev/null
@@ -1,46 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// 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_
-
-#include "chrome/browser/autocomplete/chrome_autocomplete_scheme_classifier.h"
-#include "components/omnibox/autocomplete_provider_delegate.h"
-
-class Profile;
-
-class ChromeAutocompleteProviderDelegate : public AutocompleteProviderDelegate {
- public:
- explicit ChromeAutocompleteProviderDelegate(Profile* profile);
- virtual ~ChromeAutocompleteProviderDelegate();
-
- // AutocompleteProviderDelegate:
- virtual net::URLRequestContextGetter* RequestContext() OVERRIDE;
- virtual bool IsOffTheRecord() OVERRIDE;
- virtual std::string AcceptLanguages() OVERRIDE;
- virtual bool SearchSuggestEnabled() OVERRIDE;
- virtual bool ShowBookmarkBar() OVERRIDE;
- virtual const AutocompleteSchemeClassifier& SchemeClassifier() OVERRIDE;
- virtual void Classify(
- const base::string16& text,
- bool prefer_keyword,
- bool allow_exact_keyword_match,
- metrics::OmniboxEventProto::PageClassification page_classification,
- AutocompleteMatch* match,
- GURL* alternate_nav_url) OVERRIDE;
- virtual history::URLDatabase* InMemoryDatabase() OVERRIDE;
- virtual void DeleteMatchingURLsForKeywordFromHistory(
- history::KeywordID keyword_id,
- const base::string16& term) OVERRIDE;
- virtual bool TabSyncEnabledAndUnencrypted() OVERRIDE;
- virtual void PrefetchImage(const GURL& url) OVERRIDE;
-
- private:
- Profile* profile_;
- ChromeAutocompleteSchemeClassifier scheme_classifier_;
-
- DISALLOW_COPY_AND_ASSIGN(ChromeAutocompleteProviderDelegate);
-};
-
-#endif // CHROME_BROWSER_AUTOCOMPLETE_CHROME_AUTOCOMPLETE_PROVIDER_DELEGATE_H_

Powered by Google App Engine
This is Rietveld 408576698