OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_HISTORY_IN_MEMORY_URL_INDEX_H_ | 5 #ifndef CHROME_BROWSER_HISTORY_IN_MEMORY_URL_INDEX_H_ |
6 #define CHROME_BROWSER_HISTORY_IN_MEMORY_URL_INDEX_H_ | 6 #define CHROME_BROWSER_HISTORY_IN_MEMORY_URL_INDEX_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <functional> | 9 #include <functional> |
10 #include <map> | 10 #include <map> |
11 #include <set> | 11 #include <set> |
12 #include <string> | 12 #include <string> |
13 #include <vector> | 13 #include <vector> |
14 | 14 |
15 #include "base/basictypes.h" | 15 #include "base/basictypes.h" |
16 #include "base/file_path.h" | 16 #include "base/file_path.h" |
17 #include "base/gtest_prod_util.h" | 17 #include "base/gtest_prod_util.h" |
18 #include "base/memory/linked_ptr.h" | 18 #include "base/memory/linked_ptr.h" |
19 #include "base/memory/scoped_ptr.h" | 19 #include "base/memory/scoped_ptr.h" |
20 #include "base/string16.h" | 20 #include "base/string16.h" |
21 #include "chrome/browser/autocomplete/autocomplete_match.h" | 21 #include "chrome/browser/autocomplete/autocomplete_match.h" |
22 #include "chrome/browser/autocomplete/history_provider_util.h" | 22 #include "chrome/browser/autocomplete/history_provider_util.h" |
23 #include "chrome/browser/history/history_types.h" | 23 #include "chrome/browser/history/history_types.h" |
24 #include "chrome/browser/history/in_memory_url_index_types.h" | 24 #include "chrome/browser/history/in_memory_url_index_types.h" |
25 #include "chrome/browser/history/in_memory_url_index_cache.pb.h" | 25 #include "chrome/browser/history/in_memory_url_index_cache.pb.h" |
26 #include "sql/connection.h" | 26 #include "sql/connection.h" |
27 #include "testing/gtest/include/gtest/gtest_prod.h" | |
28 | 27 |
29 namespace base { | 28 namespace base { |
30 class Time; | 29 class Time; |
31 } | 30 } |
32 | 31 |
33 namespace in_memory_url_index { | 32 namespace in_memory_url_index { |
34 class InMemoryURLIndexCacheItem; | 33 class InMemoryURLIndexCacheItem; |
35 } | 34 } |
36 | 35 |
37 namespace history { | 36 namespace history { |
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
328 size_t pre_filter_item_count; // After word index is queried. | 327 size_t pre_filter_item_count; // After word index is queried. |
329 size_t post_filter_item_count; // After trimming large result set. | 328 size_t post_filter_item_count; // After trimming large result set. |
330 size_t post_scoring_item_count; // After performing final filter and scoring. | 329 size_t post_scoring_item_count; // After performing final filter and scoring. |
331 | 330 |
332 DISALLOW_COPY_AND_ASSIGN(InMemoryURLIndex); | 331 DISALLOW_COPY_AND_ASSIGN(InMemoryURLIndex); |
333 }; | 332 }; |
334 | 333 |
335 } // namespace history | 334 } // namespace history |
336 | 335 |
337 #endif // CHROME_BROWSER_HISTORY_IN_MEMORY_URL_INDEX_H_ | 336 #endif // CHROME_BROWSER_HISTORY_IN_MEMORY_URL_INDEX_H_ |
OLD | NEW |