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 "app/sql/connection.h" | |
16 #include "base/basictypes.h" | 15 #include "base/basictypes.h" |
17 #include "base/file_path.h" | 16 #include "base/file_path.h" |
18 #include "base/gtest_prod_util.h" | 17 #include "base/gtest_prod_util.h" |
19 #include "base/memory/linked_ptr.h" | 18 #include "base/memory/linked_ptr.h" |
20 #include "base/memory/scoped_ptr.h" | 19 #include "base/memory/scoped_ptr.h" |
21 #include "base/string16.h" | 20 #include "base/string16.h" |
22 #include "chrome/browser/autocomplete/autocomplete_match.h" | 21 #include "chrome/browser/autocomplete/autocomplete_match.h" |
23 #include "chrome/browser/autocomplete/history_provider_util.h" | 22 #include "chrome/browser/autocomplete/history_provider_util.h" |
24 #include "chrome/browser/history/history_types.h" | 23 #include "chrome/browser/history/history_types.h" |
25 #include "chrome/browser/history/in_memory_url_index_cache.pb.h" | 24 #include "chrome/browser/history/in_memory_url_index_cache.pb.h" |
| 25 #include "sql/connection.h" |
26 #include "testing/gtest/include/gtest/gtest_prod.h" | 26 #include "testing/gtest/include/gtest/gtest_prod.h" |
27 | 27 |
28 class Profile; | 28 class Profile; |
29 | 29 |
30 namespace base { | 30 namespace base { |
31 class Time; | 31 class Time; |
32 } | 32 } |
33 | 33 |
34 namespace in_memory_url_index { | 34 namespace in_memory_url_index { |
35 class InMemoryURLIndexCacheItem; | 35 class InMemoryURLIndexCacheItem; |
(...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
411 | 411 |
412 // Only URLs with a whitelisted scheme are indexed. | 412 // Only URLs with a whitelisted scheme are indexed. |
413 std::set<std::string> scheme_whitelist_; | 413 std::set<std::string> scheme_whitelist_; |
414 | 414 |
415 DISALLOW_COPY_AND_ASSIGN(InMemoryURLIndex); | 415 DISALLOW_COPY_AND_ASSIGN(InMemoryURLIndex); |
416 }; | 416 }; |
417 | 417 |
418 } // namespace history | 418 } // namespace history |
419 | 419 |
420 #endif // CHROME_BROWSER_HISTORY_IN_MEMORY_URL_INDEX_H_ | 420 #endif // CHROME_BROWSER_HISTORY_IN_MEMORY_URL_INDEX_H_ |
OLD | NEW |