OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 COMPONENTS_OMNIBOX_BROWSER_HISTORY_URL_PROVIDER_H_ | 5 #ifndef COMPONENTS_OMNIBOX_BROWSER_HISTORY_URL_PROVIDER_H_ |
6 #define COMPONENTS_OMNIBOX_BROWSER_HISTORY_URL_PROVIDER_H_ | 6 #define COMPONENTS_OMNIBOX_BROWSER_HISTORY_URL_PROVIDER_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include <string> | 10 #include <string> |
9 #include <vector> | 11 #include <vector> |
10 | 12 |
11 #include "base/compiler_specific.h" | 13 #include "base/compiler_specific.h" |
12 #include "base/gtest_prod_util.h" | 14 #include "base/gtest_prod_util.h" |
| 15 #include "base/macros.h" |
13 #include "base/synchronization/cancellation_flag.h" | 16 #include "base/synchronization/cancellation_flag.h" |
14 #include "base/threading/thread_checker.h" | 17 #include "base/threading/thread_checker.h" |
15 #include "components/history/core/browser/history_match.h" | 18 #include "components/history/core/browser/history_match.h" |
16 #include "components/omnibox/browser/autocomplete_input.h" | 19 #include "components/omnibox/browser/autocomplete_input.h" |
17 #include "components/omnibox/browser/history_provider.h" | 20 #include "components/omnibox/browser/history_provider.h" |
18 #include "components/omnibox/browser/omnibox_field_trial.h" | 21 #include "components/omnibox/browser/omnibox_field_trial.h" |
19 #include "components/search_engines/template_url.h" | 22 #include "components/search_engines/template_url.h" |
20 | 23 |
21 class AutocompleteProviderListener; | 24 class AutocompleteProviderListener; |
22 class SearchTermsData; | 25 class SearchTermsData; |
(...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
344 | 347 |
345 // Params controlling experimental behavior of this provider. | 348 // Params controlling experimental behavior of this provider. |
346 HUPScoringParams scoring_params_; | 349 HUPScoringParams scoring_params_; |
347 | 350 |
348 base::ThreadChecker thread_checker_; | 351 base::ThreadChecker thread_checker_; |
349 | 352 |
350 DISALLOW_COPY_AND_ASSIGN(HistoryURLProvider); | 353 DISALLOW_COPY_AND_ASSIGN(HistoryURLProvider); |
351 }; | 354 }; |
352 | 355 |
353 #endif // COMPONENTS_OMNIBOX_BROWSER_HISTORY_URL_PROVIDER_H_ | 356 #endif // COMPONENTS_OMNIBOX_BROWSER_HISTORY_URL_PROVIDER_H_ |
OLD | NEW |