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" | 27 #include "testing/gtest/include/gtest/gtest_prod.h" |
28 | 28 |
29 class Profile; | |
30 | |
31 namespace base { | 29 namespace base { |
32 class Time; | 30 class Time; |
33 } | 31 } |
34 | 32 |
35 namespace in_memory_url_index { | 33 namespace in_memory_url_index { |
36 class InMemoryURLIndexCacheItem; | 34 class InMemoryURLIndexCacheItem; |
37 } | 35 } |
38 | 36 |
39 namespace history { | 37 namespace history { |
40 | 38 |
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
307 // TODO(mrossetti): Eliminate once the transition to SQLite has been done. | 305 // TODO(mrossetti): Eliminate once the transition to SQLite has been done. |
308 // http://crbug.com/83659 | 306 // http://crbug.com/83659 |
309 bool cached_at_shutdown_; | 307 bool cached_at_shutdown_; |
310 | 308 |
311 DISALLOW_COPY_AND_ASSIGN(InMemoryURLIndex); | 309 DISALLOW_COPY_AND_ASSIGN(InMemoryURLIndex); |
312 }; | 310 }; |
313 | 311 |
314 } // namespace history | 312 } // namespace history |
315 | 313 |
316 #endif // CHROME_BROWSER_HISTORY_IN_MEMORY_URL_INDEX_H_ | 314 #endif // CHROME_BROWSER_HISTORY_IN_MEMORY_URL_INDEX_H_ |
OLD | NEW |