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_HISTORY_H_ | 5 #ifndef CHROME_BROWSER_HISTORY_HISTORY_H_ |
6 #define CHROME_BROWSER_HISTORY_HISTORY_H_ | 6 #define CHROME_BROWSER_HISTORY_HISTORY_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <set> | 9 #include <set> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
13 #include "base/callback.h" | 13 #include "base/callback.h" |
14 #include "base/file_path.h" | 14 #include "base/file_path.h" |
15 #include "base/memory/ref_counted.h" | 15 #include "base/memory/ref_counted.h" |
16 #include "base/memory/scoped_ptr.h" | 16 #include "base/memory/scoped_ptr.h" |
17 #include "base/observer_list_threadsafe.h" | 17 #include "base/observer_list_threadsafe.h" |
18 #include "base/string16.h" | 18 #include "base/string16.h" |
19 #include "chrome/browser/cancelable_request.h" | 19 #include "chrome/browser/cancelable_request.h" |
20 #include "chrome/browser/favicon/favicon_service.h" | 20 #include "chrome/browser/favicon/favicon_service.h" |
21 #include "chrome/browser/history/history_types.h" | 21 #include "chrome/browser/history/history_types.h" |
| 22 #include "chrome/browser/history/web_history_service.h" |
22 #include "chrome/browser/search_engines/template_url_id.h" | 23 #include "chrome/browser/search_engines/template_url_id.h" |
23 #include "chrome/common/ref_counted_util.h" | 24 #include "chrome/common/ref_counted_util.h" |
24 #include "content/public/browser/notification_observer.h" | 25 #include "content/public/browser/notification_observer.h" |
25 #include "content/public/browser/notification_registrar.h" | 26 #include "content/public/browser/notification_registrar.h" |
26 #include "content/public/common/page_transition_types.h" | 27 #include "content/public/common/page_transition_types.h" |
27 #include "sql/init_status.h" | 28 #include "sql/init_status.h" |
28 | 29 |
29 #if defined(OS_ANDROID) | 30 #if defined(OS_ANDROID) |
30 #include "chrome/browser/history/android/android_history_provider_service.h" | 31 #include "chrome/browser/history/android/android_history_provider_service.h" |
31 #endif | 32 #endif |
(...skipping 911 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
943 // The index used for quick history lookups. | 944 // The index used for quick history lookups. |
944 scoped_ptr<history::InMemoryURLIndex> in_memory_url_index_; | 945 scoped_ptr<history::InMemoryURLIndex> in_memory_url_index_; |
945 | 946 |
946 scoped_refptr<ObserverListThreadSafe<history::VisitDatabaseObserver> > | 947 scoped_refptr<ObserverListThreadSafe<history::VisitDatabaseObserver> > |
947 visit_database_observers_; | 948 visit_database_observers_; |
948 | 949 |
949 DISALLOW_COPY_AND_ASSIGN(HistoryService); | 950 DISALLOW_COPY_AND_ASSIGN(HistoryService); |
950 }; | 951 }; |
951 | 952 |
952 #endif // CHROME_BROWSER_HISTORY_HISTORY_H_ | 953 #endif // CHROME_BROWSER_HISTORY_HISTORY_H_ |
OLD | NEW |