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