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

Unified Diff: blimp/client/feature/navigation_feature_unittest.cc

Issue 1929723002: [Blimp] Adds blimp engine browser test framework and LoadUrl test. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
« no previous file with comments | « blimp/client/feature/navigation_feature.h ('k') | blimp/client/feature/render_widget_feature.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/client/feature/navigation_feature_unittest.cc
diff --git a/blimp/client/feature/navigation_feature_unittest.cc b/blimp/client/feature/navigation_feature_unittest.cc
index 9d903d8af595b839f00a7f61d789791046126a77..8a5c0ba692a6496ef659852ae7ef437f3944248d 100644
--- a/blimp/client/feature/navigation_feature_unittest.cc
+++ b/blimp/client/feature/navigation_feature_unittest.cc
@@ -8,6 +8,7 @@
#include "base/logging.h"
#include "base/memory/ptr_util.h"
+#include "blimp/client/feature/mock_navigation_feature_delegate.h"
#include "blimp/common/create_blimp_message.h"
#include "blimp/common/proto/blimp_message.pb.h"
#include "blimp/net/test_common.h"
@@ -23,17 +24,6 @@ using testing::_;
namespace blimp {
namespace client {
-class MockNavigationFeatureDelegate
- : public NavigationFeature::NavigationFeatureDelegate {
- public:
- // NavigationFeatureDelegate implementation.
- MOCK_METHOD2(OnUrlChanged, void(int tab_id, const GURL& url));
- MOCK_METHOD2(OnFaviconChanged, void(int tab_id, const SkBitmap& favicon));
- MOCK_METHOD2(OnTitleChanged, void(int tab_id, const std::string& title));
- MOCK_METHOD2(OnLoadingChanged, void(int tab_id, bool loading));
- MOCK_METHOD2(OnPageLoadStatusUpdate, void(int tab_id, bool completed));
-};
-
void SendMockNavigationStateChangedMessage(BlimpMessageProcessor* processor,
int tab_id,
const GURL* url,
« no previous file with comments | « blimp/client/feature/navigation_feature.h ('k') | blimp/client/feature/render_widget_feature.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698