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

Unified Diff: blimp/client/core/contents/blimp_contents_impl_unittest.cc

Issue 2258563003: Added features to BlimpClientContext and BlimpContents (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ime_feature_move
Patch Set: Created 4 years, 4 months 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 side-by-side diff with in-line comments
Download patch
Index: blimp/client/core/contents/blimp_contents_impl_unittest.cc
diff --git a/blimp/client/core/contents/blimp_contents_impl_unittest.cc b/blimp/client/core/contents/blimp_contents_impl_unittest.cc
index 98fa2066246edf05c0c085cd0116196bd5a7edec..892863a7debec609dcbaf40a18c25461927a72d2 100644
--- a/blimp/client/core/contents/blimp_contents_impl_unittest.cc
+++ b/blimp/client/core/contents/blimp_contents_impl_unittest.cc
@@ -33,13 +33,11 @@ class MockBlimpContentsObserver : public BlimpContentsObserver {
TEST(BlimpContentsImplTest, LoadURLAndNotifyObservers) {
base::MessageLoop loop;
- BlimpContentsImpl blimp_contents(kDummyTabId);
+ FakeNavigationFeature feature;
+ BlimpContentsImpl blimp_contents(kDummyTabId, &feature, nullptr);
BlimpNavigationControllerImpl& navigation_controller =
blimp_contents.GetNavigationController();
- FakeNavigationFeature feature;
- feature.SetDelegate(1, &navigation_controller);
- navigation_controller.SetNavigationFeatureForTesting(&feature);
testing::StrictMock<MockBlimpContentsObserver> observer1(&blimp_contents);
testing::StrictMock<MockBlimpContentsObserver> observer2(&blimp_contents);

Powered by Google App Engine
This is Rietveld 408576698