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/core/blimp_client_context_impl.h" | |
7 #include "blimp/client/core/contents/blimp_navigation_controller_impl.h" | 6 #include "blimp/client/core/contents/blimp_navigation_controller_impl.h" |
| 7 #include "blimp/client/core/context/blimp_client_context_impl.h" |
8 #include "blimp/client/session/test_client_session.h" | 8 #include "blimp/client/session/test_client_session.h" |
9 #include "blimp/client/test/compositor/mock_compositor_dependencies.h" | 9 #include "blimp/client/test/compositor/mock_compositor_dependencies.h" |
10 #include "blimp/client/test/contents/mock_blimp_contents_observer.h" | 10 #include "blimp/client/test/contents/mock_blimp_contents_observer.h" |
11 #include "blimp/client/test/test_blimp_client_context_delegate.h" | 11 #include "blimp/client/test/test_blimp_client_context_delegate.h" |
12 #include "blimp/engine/browser_tests/blimp_browser_test.h" | 12 #include "blimp/engine/browser_tests/blimp_browser_test.h" |
13 #include "content/public/browser/browser_thread.h" | 13 #include "content/public/browser/browser_thread.h" |
14 #include "content/public/test/browser_test.h" | 14 #include "content/public/test/browser_test.h" |
15 #include "testing/gmock/include/gmock/gmock.h" | 15 #include "testing/gmock/include/gmock/gmock.h" |
16 #include "testing/gtest/include/gtest/gtest.h" | 16 #include "testing/gtest/include/gtest/gtest.h" |
17 #include "url/gurl.h" | 17 #include "url/gurl.h" |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 ExpectPageLoad(&observer); | 175 ExpectPageLoad(&observer); |
176 contents_->GetNavigationController().GoForward(); | 176 contents_->GetNavigationController().GoForward(); |
177 NavigateToLocalUrl(kPage2Path); | 177 NavigateToLocalUrl(kPage2Path); |
178 RunUntilCompletion(); | 178 RunUntilCompletion(); |
179 } | 179 } |
180 EXPECT_EQ(kPage2Title, GetTitle()); | 180 EXPECT_EQ(kPage2Title, GetTitle()); |
181 } | 181 } |
182 | 182 |
183 } // namespace | 183 } // namespace |
184 } // namespace blimp | 184 } // namespace blimp |
OLD | NEW |