| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 "base/memory/ptr_util.h" | 5 #include "base/memory/ptr_util.h" |
| 6 #include "blimp/client/app/session/test_client_session.h" | |
| 7 #include "blimp/client/public/blimp_client_context.h" | 6 #include "blimp/client/public/blimp_client_context.h" |
| 8 #include "blimp/client/public/contents/blimp_contents.h" | 7 #include "blimp/client/public/contents/blimp_contents.h" |
| 9 #include "blimp/client/public/contents/blimp_navigation_controller.h" | 8 #include "blimp/client/public/contents/blimp_navigation_controller.h" |
| 10 #include "blimp/client/test/compositor/mock_compositor_dependencies.h" | 9 #include "blimp/client/test/compositor/mock_compositor_dependencies.h" |
| 11 #include "blimp/client/test/contents/mock_blimp_contents_observer.h" | 10 #include "blimp/client/test/contents/mock_blimp_contents_observer.h" |
| 12 #include "blimp/client/test/test_blimp_client_context_delegate.h" | 11 #include "blimp/client/test/test_blimp_client_context_delegate.h" |
| 13 #include "blimp/engine/browser_tests/blimp_browser_test.h" | 12 #include "blimp/engine/browser_tests/blimp_browser_test.h" |
| 13 #include "blimp/engine/browser_tests/test_client_session.h" |
| 14 #include "components/prefs/testing_pref_service.h" | 14 #include "components/prefs/testing_pref_service.h" |
| 15 #include "content/public/browser/browser_thread.h" | 15 #include "content/public/browser/browser_thread.h" |
| 16 #include "content/public/test/browser_test.h" | 16 #include "content/public/test/browser_test.h" |
| 17 #include "testing/gmock/include/gmock/gmock.h" | 17 #include "testing/gmock/include/gmock/gmock.h" |
| 18 #include "testing/gtest/include/gtest/gtest.h" | 18 #include "testing/gtest/include/gtest/gtest.h" |
| 19 #include "url/gurl.h" | 19 #include "url/gurl.h" |
| 20 | 20 |
| 21 using ::testing::_; | 21 using ::testing::_; |
| 22 using ::testing::AtLeast; | 22 using ::testing::AtLeast; |
| 23 using ::testing::InvokeWithoutArgs; | 23 using ::testing::InvokeWithoutArgs; |
| (...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 180 ExpectPageLoad(&observer); | 180 ExpectPageLoad(&observer); |
| 181 contents_->GetNavigationController().GoForward(); | 181 contents_->GetNavigationController().GoForward(); |
| 182 NavigateToLocalUrl(kPage2Path); | 182 NavigateToLocalUrl(kPage2Path); |
| 183 RunUntilCompletion(); | 183 RunUntilCompletion(); |
| 184 } | 184 } |
| 185 EXPECT_EQ(kPage2Title, GetTitle()); | 185 EXPECT_EQ(kPage2Title, GetTitle()); |
| 186 } | 186 } |
| 187 | 187 |
| 188 } // namespace | 188 } // namespace |
| 189 } // namespace blimp | 189 } // namespace blimp |
| OLD | NEW |