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

Side by Side Diff: ios/chrome/browser/autocomplete/autocomplete_provider_client_impl.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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 IOS_CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_PROVIDER_CLIENT_IMPL_H_ 5 #ifndef IOS_CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_PROVIDER_CLIENT_IMPL_H_
6 #define IOS_CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_PROVIDER_CLIENT_IMPL_H_ 6 #define IOS_CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_PROVIDER_CLIENT_IMPL_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "components/omnibox/browser/autocomplete_provider_client.h" 9 #include "components/omnibox/browser/autocomplete_provider_client.h"
10 #include "ios/chrome/browser/autocomplete/autocomplete_scheme_classifier_impl.h" 10 #include "ios/chrome/browser/autocomplete/autocomplete_scheme_classifier_impl.h"
(...skipping 27 matching lines...) Expand all
38 scoped_refptr<ShortcutsBackend> GetShortcutsBackend() override; 38 scoped_refptr<ShortcutsBackend> GetShortcutsBackend() override;
39 scoped_refptr<ShortcutsBackend> GetShortcutsBackendIfExists() override; 39 scoped_refptr<ShortcutsBackend> GetShortcutsBackendIfExists() override;
40 scoped_ptr<KeywordExtensionsDelegate> GetKeywordExtensionsDelegate( 40 scoped_ptr<KeywordExtensionsDelegate> GetKeywordExtensionsDelegate(
41 KeywordProvider* keyword_provider) override; 41 KeywordProvider* keyword_provider) override;
42 std::string GetAcceptLanguages() const override; 42 std::string GetAcceptLanguages() const override;
43 std::string GetEmbedderRepresentationOfAboutScheme() override; 43 std::string GetEmbedderRepresentationOfAboutScheme() override;
44 std::vector<base::string16> GetBuiltinURLs() override; 44 std::vector<base::string16> GetBuiltinURLs() override;
45 std::vector<base::string16> GetBuiltinsToProvideAsUserTypes() override; 45 std::vector<base::string16> GetBuiltinsToProvideAsUserTypes() override;
46 bool IsOffTheRecord() const override; 46 bool IsOffTheRecord() const override;
47 bool SearchSuggestEnabled() const override; 47 bool SearchSuggestEnabled() const override;
48 bool BookmarkBarIsVisible() const override;
49 bool TabSyncEnabledAndUnencrypted() const override; 48 bool TabSyncEnabledAndUnencrypted() const override;
50 void Classify( 49 void Classify(
51 const base::string16& text, 50 const base::string16& text,
52 bool prefer_keyword, 51 bool prefer_keyword,
53 bool allow_exact_keyword_match, 52 bool allow_exact_keyword_match,
54 metrics::OmniboxEventProto::PageClassification page_classification, 53 metrics::OmniboxEventProto::PageClassification page_classification,
55 AutocompleteMatch* match, 54 AutocompleteMatch* match,
56 GURL* alternate_nav_url) override; 55 GURL* alternate_nav_url) override;
57 void DeleteMatchingURLsForKeywordFromHistory( 56 void DeleteMatchingURLsForKeywordFromHistory(
58 history::KeywordID keyword_id, 57 history::KeywordID keyword_id,
59 const base::string16& term) override; 58 const base::string16& term) override;
60 void PrefetchImage(const GURL& url) override; 59 void PrefetchImage(const GURL& url) override;
61 void OnAutocompleteControllerResultReady( 60 void OnAutocompleteControllerResultReady(
62 AutocompleteController* controller) override; 61 AutocompleteController* controller) override;
63 62
64 private: 63 private:
65 ios::ChromeBrowserState* browser_state_; 64 ios::ChromeBrowserState* browser_state_;
66 AutocompleteSchemeClassifierImpl scheme_classifier_; 65 AutocompleteSchemeClassifierImpl scheme_classifier_;
67 ios::UIThreadSearchTermsData search_terms_data_; 66 ios::UIThreadSearchTermsData search_terms_data_;
68 67
69 DISALLOW_COPY_AND_ASSIGN(AutocompleteProviderClientImpl); 68 DISALLOW_COPY_AND_ASSIGN(AutocompleteProviderClientImpl);
70 }; 69 };
71 70
72 #endif // IOS_CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_PROVIDER_CLIENT_IMPL_H_ 71 #endif // IOS_CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_PROVIDER_CLIENT_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698