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

Side by Side Diff: blimp/client/core/contents/navigation_feature_unittest.cc

Issue 2058263002: Tied up BlimpNavigationController to NavigationFeature (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@blimp_core
Patch Set: Removed BlimpContentsTest.java 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "blimp/client/feature/navigation_feature.h" 5 #include "blimp/client/core/contents/navigation_feature.h"
6 6
7 #include <memory> 7 #include <memory>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/memory/ptr_util.h" 10 #include "base/memory/ptr_util.h"
11 #include "blimp/client/feature/mock_navigation_feature_delegate.h" 11 #include "blimp/client/core/contents/mock_navigation_feature_delegate.h"
12 #include "blimp/common/create_blimp_message.h" 12 #include "blimp/common/create_blimp_message.h"
13 #include "blimp/common/proto/blimp_message.pb.h" 13 #include "blimp/common/proto/blimp_message.pb.h"
14 #include "blimp/net/test_common.h" 14 #include "blimp/net/test_common.h"
15 #include "net/base/net_errors.h" 15 #include "net/base/net_errors.h"
16 #include "net/base/test_completion_callback.h" 16 #include "net/base/test_completion_callback.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 "third_party/skia/include/core/SkBitmap.h"
20 #include "url/gurl.h" 19 #include "url/gurl.h"
21 20
22 using testing::_; 21 using testing::_;
23 22
24 namespace blimp { 23 namespace blimp {
25 namespace client { 24 namespace client {
26 25
27 void SendMockNavigationStateChangedMessage(BlimpMessageProcessor* processor, 26 void SendMockNavigationStateChangedMessage(BlimpMessageProcessor* processor,
28 int tab_id, 27 int tab_id,
29 const GURL* url, 28 const GURL* url,
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 146
148 TEST_F(NavigationFeatureTest, TestNavigateReloadMessage) { 147 TEST_F(NavigationFeatureTest, TestNavigateReloadMessage) {
149 EXPECT_CALL(*out_processor_, 148 EXPECT_CALL(*out_processor_,
150 MockableProcessMessage(EqualsNavigateReload(1), _)) 149 MockableProcessMessage(EqualsNavigateReload(1), _))
151 .Times(1); 150 .Times(1);
152 feature_.Reload(1); 151 feature_.Reload(1);
153 } 152 }
154 153
155 } // namespace client 154 } // namespace client
156 } // namespace blimp 155 } // namespace blimp
OLDNEW
« no previous file with comments | « blimp/client/core/contents/navigation_feature.cc ('k') | blimp/client/feature/mock_navigation_feature_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698