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