Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(74)

Side by Side Diff: blimp/engine/browser_tests/navigation_browsertest.cc

Issue 2542083004: Make //blimp/client/app a real embedder of //blimp/client/public (Closed)
Patch Set: Fix findbugs issue Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW
« no previous file with comments | « blimp/engine/browser_tests/input_browsertest.cc ('k') | blimp/engine/browser_tests/test_client_session.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698