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

Side by Side Diff: chrome/browser/autocomplete/chrome_autocomplete_provider_client.h

Issue 1543203002: Remove a variety of no-longer-used query params. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review comments Created 4 years, 11 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 unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/autocomplete/chrome_autocomplete_provider_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_AUTOCOMPLETE_CHROME_AUTOCOMPLETE_PROVIDER_CLIENT_H_ 5 #ifndef CHROME_BROWSER_AUTOCOMPLETE_CHROME_AUTOCOMPLETE_PROVIDER_CLIENT_H_
6 #define CHROME_BROWSER_AUTOCOMPLETE_CHROME_AUTOCOMPLETE_PROVIDER_CLIENT_H_ 6 #define CHROME_BROWSER_AUTOCOMPLETE_CHROME_AUTOCOMPLETE_PROVIDER_CLIENT_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "chrome/browser/autocomplete/chrome_autocomplete_scheme_classifier.h" 9 #include "chrome/browser/autocomplete/chrome_autocomplete_scheme_classifier.h"
10 #include "chrome/browser/search_engines/ui_thread_search_terms_data.h" 10 #include "chrome/browser/search_engines/ui_thread_search_terms_data.h"
(...skipping 22 matching lines...) Expand all
33 scoped_refptr<ShortcutsBackend> GetShortcutsBackend() override; 33 scoped_refptr<ShortcutsBackend> GetShortcutsBackend() override;
34 scoped_refptr<ShortcutsBackend> GetShortcutsBackendIfExists() override; 34 scoped_refptr<ShortcutsBackend> GetShortcutsBackendIfExists() override;
35 scoped_ptr<KeywordExtensionsDelegate> GetKeywordExtensionsDelegate( 35 scoped_ptr<KeywordExtensionsDelegate> GetKeywordExtensionsDelegate(
36 KeywordProvider* keyword_provider) override; 36 KeywordProvider* keyword_provider) override;
37 std::string GetAcceptLanguages() const override; 37 std::string GetAcceptLanguages() const override;
38 std::string GetEmbedderRepresentationOfAboutScheme() override; 38 std::string GetEmbedderRepresentationOfAboutScheme() override;
39 std::vector<base::string16> GetBuiltinURLs() override; 39 std::vector<base::string16> GetBuiltinURLs() override;
40 std::vector<base::string16> GetBuiltinsToProvideAsUserTypes() override; 40 std::vector<base::string16> GetBuiltinsToProvideAsUserTypes() override;
41 bool IsOffTheRecord() const override; 41 bool IsOffTheRecord() const override;
42 bool SearchSuggestEnabled() const override; 42 bool SearchSuggestEnabled() const override;
43 bool BookmarkBarIsVisible() const override;
44 bool TabSyncEnabledAndUnencrypted() const override; 43 bool TabSyncEnabledAndUnencrypted() const override;
45 void Classify( 44 void Classify(
46 const base::string16& text, 45 const base::string16& text,
47 bool prefer_keyword, 46 bool prefer_keyword,
48 bool allow_exact_keyword_match, 47 bool allow_exact_keyword_match,
49 metrics::OmniboxEventProto::PageClassification page_classification, 48 metrics::OmniboxEventProto::PageClassification page_classification,
50 AutocompleteMatch* match, 49 AutocompleteMatch* match,
51 GURL* alternate_nav_url) override; 50 GURL* alternate_nav_url) override;
52 void DeleteMatchingURLsForKeywordFromHistory( 51 void DeleteMatchingURLsForKeywordFromHistory(
53 history::KeywordID keyword_id, 52 history::KeywordID keyword_id,
54 const base::string16& term) override; 53 const base::string16& term) override;
55 void PrefetchImage(const GURL& url) override; 54 void PrefetchImage(const GURL& url) override;
56 void OnAutocompleteControllerResultReady( 55 void OnAutocompleteControllerResultReady(
57 AutocompleteController* controller) override; 56 AutocompleteController* controller) override;
58 57
59 private: 58 private:
60 Profile* profile_; 59 Profile* profile_;
61 ChromeAutocompleteSchemeClassifier scheme_classifier_; 60 ChromeAutocompleteSchemeClassifier scheme_classifier_;
62 UIThreadSearchTermsData search_terms_data_; 61 UIThreadSearchTermsData search_terms_data_;
63 62
64 DISALLOW_COPY_AND_ASSIGN(ChromeAutocompleteProviderClient); 63 DISALLOW_COPY_AND_ASSIGN(ChromeAutocompleteProviderClient);
65 }; 64 };
66 65
67 #endif // CHROME_BROWSER_AUTOCOMPLETE_CHROME_AUTOCOMPLETE_PROVIDER_CLIENT_H_ 66 #endif // CHROME_BROWSER_AUTOCOMPLETE_CHROME_AUTOCOMPLETE_PROVIDER_CLIENT_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/autocomplete/chrome_autocomplete_provider_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698