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 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 <string> | 8 #include <string> |
10 | 9 |
11 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
12 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
13 #include "chrome/browser/autocomplete/autocomplete_input.h" | 12 #include "chrome/browser/autocomplete/autocomplete_input.h" |
14 #include "chrome/browser/autocomplete/autocomplete_match.h" | 13 #include "chrome/browser/autocomplete/autocomplete_match.h" |
15 #include "chrome/browser/autocomplete/history_provider.h" | 14 #include "chrome/browser/autocomplete/history_provider.h" |
16 #include "chrome/browser/history/history_types.h" | 15 #include "chrome/browser/history/history_types.h" |
17 #include "chrome/browser/history/in_memory_url_index.h" | 16 #include "chrome/browser/history/in_memory_url_index.h" |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 // Only used for testing. | 100 // Only used for testing. |
102 scoped_ptr<history::InMemoryURLIndex> index_for_testing_; | 101 scoped_ptr<history::InMemoryURLIndex> index_for_testing_; |
103 | 102 |
104 // This provider is disabled when true. | 103 // This provider is disabled when true. |
105 static bool disabled_; | 104 static bool disabled_; |
106 | 105 |
107 DISALLOW_COPY_AND_ASSIGN(HistoryQuickProvider); | 106 DISALLOW_COPY_AND_ASSIGN(HistoryQuickProvider); |
108 }; | 107 }; |
109 | 108 |
110 #endif // CHROME_BROWSER_AUTOCOMPLETE_HISTORY_QUICK_PROVIDER_H_ | 109 #endif // CHROME_BROWSER_AUTOCOMPLETE_HISTORY_QUICK_PROVIDER_H_ |
OLD | NEW |