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_PROVIDER_H_ | 5 #ifndef COMPONENTS_OMNIBOX_BROWSER_HISTORY_PROVIDER_H_ |
6 #define COMPONENTS_OMNIBOX_BROWSER_HISTORY_PROVIDER_H_ | 6 #define COMPONENTS_OMNIBOX_BROWSER_HISTORY_PROVIDER_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| 11 #include "base/macros.h" |
9 #include "components/omnibox/browser/autocomplete_provider.h" | 12 #include "components/omnibox/browser/autocomplete_provider.h" |
10 #include "components/omnibox/browser/autocomplete_provider_client.h" | 13 #include "components/omnibox/browser/autocomplete_provider_client.h" |
11 #include "components/omnibox/browser/in_memory_url_index_types.h" | 14 #include "components/omnibox/browser/in_memory_url_index_types.h" |
12 | 15 |
13 class AutocompleteInput; | 16 class AutocompleteInput; |
14 class Profile; | 17 class Profile; |
15 struct AutocompleteMatch; | 18 struct AutocompleteMatch; |
16 | 19 |
17 // This class is a base class for the history autocomplete providers and | 20 // This class is a base class for the history autocomplete providers and |
18 // provides functions useful to all derived classes. | 21 // provides functions useful to all derived classes. |
(...skipping 24 matching lines...) Expand all Loading... |
43 | 46 |
44 AutocompleteProviderClient* client() { return client_; } | 47 AutocompleteProviderClient* client() { return client_; } |
45 | 48 |
46 private: | 49 private: |
47 AutocompleteProviderClient* client_; | 50 AutocompleteProviderClient* client_; |
48 | 51 |
49 DISALLOW_COPY_AND_ASSIGN(HistoryProvider); | 52 DISALLOW_COPY_AND_ASSIGN(HistoryProvider); |
50 }; | 53 }; |
51 | 54 |
52 #endif // COMPONENTS_OMNIBOX_BROWSER_HISTORY_PROVIDER_H_ | 55 #endif // COMPONENTS_OMNIBOX_BROWSER_HISTORY_PROVIDER_H_ |
OLD | NEW |