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 COMPONENTS_OMNIBOX_BROWSER_IN_MEMORY_URL_INDEX_H_ | 5 #ifndef COMPONENTS_OMNIBOX_BROWSER_IN_MEMORY_URL_INDEX_H_ |
6 #define COMPONENTS_OMNIBOX_BROWSER_IN_MEMORY_URL_INDEX_H_ | 6 #define COMPONENTS_OMNIBOX_BROWSER_IN_MEMORY_URL_INDEX_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include <functional> | 10 #include <functional> |
9 #include <map> | 11 #include <map> |
10 #include <set> | 12 #include <set> |
11 #include <string> | 13 #include <string> |
12 #include <vector> | 14 #include <vector> |
13 | 15 |
14 #include "base/basictypes.h" | |
15 #include "base/files/file_path.h" | 16 #include "base/files/file_path.h" |
16 #include "base/gtest_prod_util.h" | 17 #include "base/gtest_prod_util.h" |
| 18 #include "base/macros.h" |
17 #include "base/memory/ref_counted.h" | 19 #include "base/memory/ref_counted.h" |
18 #include "base/memory/weak_ptr.h" | 20 #include "base/memory/weak_ptr.h" |
19 #include "base/strings/string16.h" | 21 #include "base/strings/string16.h" |
20 #include "base/task/cancelable_task_tracker.h" | 22 #include "base/task/cancelable_task_tracker.h" |
21 #include "base/threading/sequenced_worker_pool.h" | 23 #include "base/threading/sequenced_worker_pool.h" |
22 #include "base/threading/thread_checker.h" | 24 #include "base/threading/thread_checker.h" |
23 #include "components/history/core/browser/history_db_task.h" | 25 #include "components/history/core/browser/history_db_task.h" |
24 #include "components/history/core/browser/history_service_observer.h" | 26 #include "components/history/core/browser/history_service_observer.h" |
25 #include "components/history/core/browser/history_types.h" | 27 #include "components/history/core/browser/history_types.h" |
26 #include "components/keyed_service/core/keyed_service.h" | 28 #include "components/keyed_service/core/keyed_service.h" |
(...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
322 // This flag is set to true if we want to listen to the | 324 // This flag is set to true if we want to listen to the |
323 // HistoryServiceLoaded Notification. | 325 // HistoryServiceLoaded Notification. |
324 bool listen_to_history_service_loaded_; | 326 bool listen_to_history_service_loaded_; |
325 | 327 |
326 base::ThreadChecker thread_checker_; | 328 base::ThreadChecker thread_checker_; |
327 | 329 |
328 DISALLOW_COPY_AND_ASSIGN(InMemoryURLIndex); | 330 DISALLOW_COPY_AND_ASSIGN(InMemoryURLIndex); |
329 }; | 331 }; |
330 | 332 |
331 #endif // COMPONENTS_OMNIBOX_BROWSER_IN_MEMORY_URL_INDEX_H_ | 333 #endif // COMPONENTS_OMNIBOX_BROWSER_IN_MEMORY_URL_INDEX_H_ |
OLD | NEW |