OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 "components/sync_sessions/revisit/page_revisit_broadcaster.h" | 5 #include "components/sync_sessions/revisit/page_revisit_broadcaster.h" |
6 | 6 |
7 #include <memory> | 7 #include <memory> |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/macros.h" | |
12 #include "base/memory/ptr_util.h" | 11 #include "base/memory/ptr_util.h" |
13 #include "base/metrics/field_trial.h" | 12 #include "base/metrics/field_trial.h" |
14 #include "components/bookmarks/browser/bookmark_model.h" | 13 #include "components/bookmarks/browser/bookmark_model.h" |
15 #include "components/history/core/browser/history_service.h" | 14 #include "components/history/core/browser/history_service.h" |
16 #include "components/sync_sessions/revisit/bookmarks_by_url_provider_impl.h" | 15 #include "components/sync_sessions/revisit/bookmarks_by_url_provider_impl.h" |
17 #include "components/sync_sessions/revisit/bookmarks_page_revisit_observer.h" | 16 #include "components/sync_sessions/revisit/bookmarks_page_revisit_observer.h" |
18 #include "components/sync_sessions/revisit/sessions_page_revisit_observer.h" | 17 #include "components/sync_sessions/revisit/sessions_page_revisit_observer.h" |
19 #include "components/sync_sessions/revisit/typed_url_page_revisit_observer.h" | 18 #include "components/sync_sessions/revisit/typed_url_page_revisit_observer.h" |
20 #include "components/sync_sessions/sessions_sync_manager.h" | 19 #include "components/sync_sessions/sessions_sync_manager.h" |
21 #include "components/sync_sessions/sync_sessions_client.h" | 20 #include "components/sync_sessions/sync_sessions_client.h" |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 case ui::PAGE_TRANSITION_KEYWORD: | 122 case ui::PAGE_TRANSITION_KEYWORD: |
124 case ui::PAGE_TRANSITION_KEYWORD_GENERATED: | 123 case ui::PAGE_TRANSITION_KEYWORD_GENERATED: |
125 return PageVisitObserver::kTransitionOmniboxTemplateSearch; | 124 return PageVisitObserver::kTransitionOmniboxTemplateSearch; |
126 | 125 |
127 default: | 126 default: |
128 return PageVisitObserver::kTransitionUnknown; | 127 return PageVisitObserver::kTransitionUnknown; |
129 } | 128 } |
130 } | 129 } |
131 | 130 |
132 } // namespace sync_sessions | 131 } // namespace sync_sessions |
OLD | NEW |