OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_HISTORY_QUICK_PROVIDER_H_ | 5 #ifndef CHROME_BROWSER_AUTOCOMPLETE_HISTORY_QUICK_PROVIDER_H_ |
6 #define CHROME_BROWSER_AUTOCOMPLETE_HISTORY_QUICK_PROVIDER_H_ | 6 #define CHROME_BROWSER_AUTOCOMPLETE_HISTORY_QUICK_PROVIDER_H_ |
| 7 #pragma once |
7 | 8 |
8 #include "chrome/browser/autocomplete/autocomplete.h" | 9 #include "chrome/browser/autocomplete/autocomplete.h" |
9 | 10 |
10 // This class is an autocomplete provider (a pseudo-internal component of | 11 // This class is an autocomplete provider (a pseudo-internal component of |
11 // the history system) which quickly (and synchronously) provides matching | 12 // the history system) which quickly (and synchronously) provides matching |
12 // results from recently or frequently visited sites in the profile's | 13 // results from recently or frequently visited sites in the profile's |
13 // history. | 14 // history. |
14 // | 15 // |
15 // TODO(mrossetti): Review to see if the following applies since we're not | 16 // TODO(mrossetti): Review to see if the following applies since we're not |
16 // using the database during the autocomplete pass. | 17 // using the database during the autocomplete pass. |
(...skipping 13 matching lines...) Expand all Loading... |
30 // no destructor (see note above) | 31 // no destructor (see note above) |
31 | 32 |
32 // AutocompleteProvider | 33 // AutocompleteProvider |
33 void Start(const AutocompleteInput& input, bool minimal_changes); | 34 void Start(const AutocompleteInput& input, bool minimal_changes); |
34 | 35 |
35 private: | 36 private: |
36 ~HistoryQuickProvider() {} | 37 ~HistoryQuickProvider() {} |
37 }; | 38 }; |
38 | 39 |
39 #endif // CHROME_BROWSER_AUTOCOMPLETE_HISTORY_QUICK_PROVIDER_H_ | 40 #endif // CHROME_BROWSER_AUTOCOMPLETE_HISTORY_QUICK_PROVIDER_H_ |
OLD | NEW |