| OLD | NEW |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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/ui/sync/tab_contents_synced_tab_delegate.cc" | 5 #include "chrome/browser/ui/sync/tab_contents_synced_tab_delegate.h" |
| 6 | 6 |
| 7 #include "chrome/test/base/chrome_render_view_host_test_harness.h" | 7 #include "chrome/test/base/chrome_render_view_host_test_harness.h" |
| 8 #include "testing/gtest/include/gtest/gtest.h" | 8 #include "testing/gtest/include/gtest/gtest.h" |
| 9 | 9 |
| 10 namespace { | 10 namespace { |
| 11 | 11 |
| 12 class TabContentsSyncedTabDelegateTest | 12 class TabContentsSyncedTabDelegateTest |
| 13 : public ChromeRenderViewHostTestHarness { | 13 : public ChromeRenderViewHostTestHarness { |
| 14 public: | 14 public: |
| 15 TabContentsSyncedTabDelegateTest() : ChromeRenderViewHostTestHarness() {} | 15 TabContentsSyncedTabDelegateTest() : ChromeRenderViewHostTestHarness() {} |
| (...skipping 22 matching lines...) Expand all Loading... |
| 38 | 38 |
| 39 EXPECT_TRUE( | 39 EXPECT_TRUE( |
| 40 PageTransitionCoreTypeIs(delegate->GetTransitionAtIndex(-1), | 40 PageTransitionCoreTypeIs(delegate->GetTransitionAtIndex(-1), |
| 41 ui::PageTransition::PAGE_TRANSITION_LINK)); | 41 ui::PageTransition::PAGE_TRANSITION_LINK)); |
| 42 EXPECT_TRUE( | 42 EXPECT_TRUE( |
| 43 PageTransitionCoreTypeIs(delegate->GetTransitionAtIndex(2), | 43 PageTransitionCoreTypeIs(delegate->GetTransitionAtIndex(2), |
| 44 ui::PageTransition::PAGE_TRANSITION_LINK)); | 44 ui::PageTransition::PAGE_TRANSITION_LINK)); |
| 45 } | 45 } |
| 46 | 46 |
| 47 } // namespace | 47 } // namespace |
| OLD | NEW |