OLD | NEW |
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 "chrome/browser/autocomplete/chrome_autocomplete_scheme_classifier.h" | 9 #include "chrome/browser/autocomplete/chrome_autocomplete_scheme_classifier.h" |
9 #include "chrome/browser/search_engines/ui_thread_search_terms_data.h" | 10 #include "chrome/browser/search_engines/ui_thread_search_terms_data.h" |
10 #include "components/omnibox/browser/autocomplete_provider_client.h" | 11 #include "components/omnibox/browser/autocomplete_provider_client.h" |
11 | 12 |
12 class Profile; | 13 class Profile; |
13 | 14 |
14 class ChromeAutocompleteProviderClient : public AutocompleteProviderClient { | 15 class ChromeAutocompleteProviderClient : public AutocompleteProviderClient { |
15 public: | 16 public: |
16 explicit ChromeAutocompleteProviderClient(Profile* profile); | 17 explicit ChromeAutocompleteProviderClient(Profile* profile); |
17 ~ChromeAutocompleteProviderClient() override; | 18 ~ChromeAutocompleteProviderClient() override; |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 | 58 |
58 private: | 59 private: |
59 Profile* profile_; | 60 Profile* profile_; |
60 ChromeAutocompleteSchemeClassifier scheme_classifier_; | 61 ChromeAutocompleteSchemeClassifier scheme_classifier_; |
61 UIThreadSearchTermsData search_terms_data_; | 62 UIThreadSearchTermsData search_terms_data_; |
62 | 63 |
63 DISALLOW_COPY_AND_ASSIGN(ChromeAutocompleteProviderClient); | 64 DISALLOW_COPY_AND_ASSIGN(ChromeAutocompleteProviderClient); |
64 }; | 65 }; |
65 | 66 |
66 #endif // CHROME_BROWSER_AUTOCOMPLETE_CHROME_AUTOCOMPLETE_PROVIDER_CLIENT_H_ | 67 #endif // CHROME_BROWSER_AUTOCOMPLETE_CHROME_AUTOCOMPLETE_PROVIDER_CLIENT_H_ |
OLD | NEW |