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 <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
| 12 #include "base/gtest_prod_util.h" |
12 #include "base/synchronization/cancellation_flag.h" | 13 #include "base/synchronization/cancellation_flag.h" |
13 #include "base/threading/thread_checker.h" | 14 #include "base/threading/thread_checker.h" |
14 #include "components/history/core/browser/history_match.h" | 15 #include "components/history/core/browser/history_match.h" |
15 #include "components/omnibox/browser/autocomplete_input.h" | 16 #include "components/omnibox/browser/autocomplete_input.h" |
16 #include "components/omnibox/browser/history_provider.h" | 17 #include "components/omnibox/browser/history_provider.h" |
17 #include "components/omnibox/browser/omnibox_field_trial.h" | 18 #include "components/omnibox/browser/omnibox_field_trial.h" |
18 #include "components/search_engines/template_url.h" | 19 #include "components/search_engines/template_url.h" |
19 | 20 |
20 class AutocompleteProviderListener; | 21 class AutocompleteProviderListener; |
21 class SearchTermsData; | 22 class SearchTermsData; |
(...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
334 | 335 |
335 // Params controlling experimental behavior of this provider. | 336 // Params controlling experimental behavior of this provider. |
336 HUPScoringParams scoring_params_; | 337 HUPScoringParams scoring_params_; |
337 | 338 |
338 base::ThreadChecker thread_checker_; | 339 base::ThreadChecker thread_checker_; |
339 | 340 |
340 DISALLOW_COPY_AND_ASSIGN(HistoryURLProvider); | 341 DISALLOW_COPY_AND_ASSIGN(HistoryURLProvider); |
341 }; | 342 }; |
342 | 343 |
343 #endif // COMPONENTS_OMNIBOX_BROWSER_HISTORY_URL_PROVIDER_H_ | 344 #endif // COMPONENTS_OMNIBOX_BROWSER_HISTORY_URL_PROVIDER_H_ |
OLD | NEW |