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_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 | 7 |
8 #include <functional> | 8 #include <functional> |
9 #include <map> | 9 #include <map> |
10 #include <set> | 10 #include <set> |
11 #include <string> | 11 #include <string> |
12 #include <vector> | 12 #include <vector> |
13 | 13 |
14 #include "base/basictypes.h" | 14 #include "base/basictypes.h" |
15 #include "base/files/file_path.h" | 15 #include "base/files/file_path.h" |
16 #include "base/gtest_prod_util.h" | 16 #include "base/gtest_prod_util.h" |
17 #include "base/memory/ref_counted.h" | 17 #include "base/memory/ref_counted.h" |
18 #include "base/memory/weak_ptr.h" | 18 #include "base/memory/weak_ptr.h" |
19 #include "base/strings/string16.h" | 19 #include "base/strings/string16.h" |
20 #include "base/task/cancelable_task_tracker.h" | 20 #include "base/task/cancelable_task_tracker.h" |
21 #include "chrome/browser/history/history_db_task.h" | 21 #include "chrome/browser/history/history_db_task.h" |
22 #include "chrome/browser/history/history_types.h" | |
23 #include "chrome/browser/history/in_memory_url_index_types.h" | 22 #include "chrome/browser/history/in_memory_url_index_types.h" |
24 #include "chrome/browser/history/scored_history_match.h" | 23 #include "chrome/browser/history/scored_history_match.h" |
| 24 #include "components/history/core/browser/history_types.h" |
25 #include "content/public/browser/notification_observer.h" | 25 #include "content/public/browser/notification_observer.h" |
26 #include "content/public/browser/notification_registrar.h" | 26 #include "content/public/browser/notification_registrar.h" |
27 #include "sql/connection.h" | 27 #include "sql/connection.h" |
28 | 28 |
29 class HistoryQuickProviderTest; | 29 class HistoryQuickProviderTest; |
30 class Profile; | 30 class Profile; |
31 | 31 |
32 namespace base { | 32 namespace base { |
33 class Time; | 33 class Time; |
34 } | 34 } |
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
298 // temporary safety check to insure that the cache is saved before the | 298 // temporary safety check to insure that the cache is saved before the |
299 // index has been destructed. | 299 // index has been destructed. |
300 bool needs_to_be_cached_; | 300 bool needs_to_be_cached_; |
301 | 301 |
302 DISALLOW_COPY_AND_ASSIGN(InMemoryURLIndex); | 302 DISALLOW_COPY_AND_ASSIGN(InMemoryURLIndex); |
303 }; | 303 }; |
304 | 304 |
305 } // namespace history | 305 } // namespace history |
306 | 306 |
307 #endif // CHROME_BROWSER_HISTORY_IN_MEMORY_URL_INDEX_H_ | 307 #endif // CHROME_BROWSER_HISTORY_IN_MEMORY_URL_INDEX_H_ |
OLD | NEW |