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 #include "chrome/browser/history/history_backend.h" | 5 #include "chrome/browser/history/history_backend.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <functional> | 8 #include <functional> |
9 #include <list> | 9 #include <list> |
10 #include <map> | 10 #include <map> |
(...skipping 12 matching lines...) Expand all Loading... | |
23 #include "base/strings/string_util.h" | 23 #include "base/strings/string_util.h" |
24 #include "base/strings/utf_string_conversions.h" | 24 #include "base/strings/utf_string_conversions.h" |
25 #include "base/time/time.h" | 25 #include "base/time/time.h" |
26 #include "chrome/browser/chrome_notification_types.h" | 26 #include "chrome/browser/chrome_notification_types.h" |
27 #include "chrome/browser/history/download_row.h" | 27 #include "chrome/browser/history/download_row.h" |
28 #include "chrome/browser/history/history_db_task.h" | 28 #include "chrome/browser/history/history_db_task.h" |
29 #include "chrome/browser/history/history_db_task.h" | 29 #include "chrome/browser/history/history_db_task.h" |
30 #include "chrome/browser/history/history_notifications.h" | 30 #include "chrome/browser/history/history_notifications.h" |
31 #include "chrome/browser/history/in_memory_history_backend.h" | 31 #include "chrome/browser/history/in_memory_history_backend.h" |
32 #include "chrome/browser/history/in_memory_history_backend.h" | 32 #include "chrome/browser/history/in_memory_history_backend.h" |
33 #include "chrome/browser/history/top_sites.h" | 33 #include "chrome/browser/history/top_sites_provider.h" |
sdefresne
2014/12/19 15:11:40
Looks like it is unused, remove.
Jitu( very slow this week)
2014/12/26 14:04:27
Done.
| |
34 #include "chrome/browser/history/typed_url_syncable_service.h" | 34 #include "chrome/browser/history/typed_url_syncable_service.h" |
35 #include "chrome/browser/history/typed_url_syncable_service.h" | 35 #include "chrome/browser/history/typed_url_syncable_service.h" |
36 #include "chrome/browser/history/visit_filter.h" | 36 #include "chrome/browser/history/visit_filter.h" |
37 #include "chrome/common/chrome_constants.h" | 37 #include "chrome/common/chrome_constants.h" |
38 #include "chrome/common/importer/imported_favicon_usage.h" | 38 #include "chrome/common/importer/imported_favicon_usage.h" |
39 #include "chrome/common/url_constants.h" | 39 #include "chrome/common/url_constants.h" |
40 #include "components/favicon_base/select_favicon_frames.h" | 40 #include "components/favicon_base/select_favicon_frames.h" |
41 #include "components/history/core/browser/history_backend_observer.h" | 41 #include "components/history/core/browser/history_backend_observer.h" |
42 #include "components/history/core/browser/history_client.h" | 42 #include "components/history/core/browser/history_client.h" |
43 #include "components/history/core/browser/history_constants.h" | 43 #include "components/history/core/browser/history_constants.h" |
(...skipping 2647 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2691 info.url_id = visit.url_id; | 2691 info.url_id = visit.url_id; |
2692 info.time = visit.visit_time; | 2692 info.time = visit.visit_time; |
2693 info.transition = visit.transition; | 2693 info.transition = visit.transition; |
2694 // If we don't have a delegate yet during setup or shutdown, we will drop | 2694 // If we don't have a delegate yet during setup or shutdown, we will drop |
2695 // these notifications. | 2695 // these notifications. |
2696 if (delegate_) | 2696 if (delegate_) |
2697 delegate_->NotifyAddVisit(info); | 2697 delegate_->NotifyAddVisit(info); |
2698 } | 2698 } |
2699 | 2699 |
2700 } // namespace history | 2700 } // namespace history |
OLD | NEW |