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

Unified Diff: ios/web/test/fakes/test_navigation_manager_delegate.mm

Issue 2942103002: Fix failing NavigationManagerUtil test that wasn't being run. (Closed)
Patch Set: rebase Created 3 years, 6 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 | « ios/web/test/fakes/test_navigation_manager_delegate.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/test/fakes/test_navigation_manager_delegate.mm
diff --git a/ios/web/test/fakes/test_navigation_manager_delegate.mm b/ios/web/test/fakes/test_navigation_manager_delegate.mm
new file mode 100644
index 0000000000000000000000000000000000000000..7f480b3b9cb198bf38edb6690d60fd7347d9b91c
--- /dev/null
+++ b/ios/web/test/fakes/test_navigation_manager_delegate.mm
@@ -0,0 +1,26 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#import "ios/web/test/fakes/test_navigation_manager_delegate.h"
+
+#if !defined(__has_feature) || !__has_feature(objc_arc)
+#error "This file requires ARC support."
+#endif
+
+namespace web {
+
+void TestNavigationManagerDelegate::GoToIndex(int index) {}
+void TestNavigationManagerDelegate::LoadURLWithParams(
+ const NavigationManager::WebLoadParams&) {}
+void TestNavigationManagerDelegate::Reload() {}
+void TestNavigationManagerDelegate::OnNavigationItemsPruned(
+ size_t pruned_item_count) {}
+void TestNavigationManagerDelegate::OnNavigationItemChanged() {}
+void TestNavigationManagerDelegate::OnNavigationItemCommitted(
+ const LoadCommittedDetails& load_details) {}
+WebState* TestNavigationManagerDelegate::GetWebState() {
+ return nullptr;
+}
+
+} // namespace web
« no previous file with comments | « ios/web/test/fakes/test_navigation_manager_delegate.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698