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