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

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

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/BUILD.gn ('k') | ios/web/test/fakes/test_navigation_manager_delegate.mm » ('j') | 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.h
diff --git a/ios/web/test/fakes/test_navigation_manager_delegate.h b/ios/web/test/fakes/test_navigation_manager_delegate.h
new file mode 100644
index 0000000000000000000000000000000000000000..53804fb6ad58f194aa91fff3a8345e221daa5ece
--- /dev/null
+++ b/ios/web/test/fakes/test_navigation_manager_delegate.h
@@ -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.
+
+#ifndef IOS_WEB_TEST_FAKES_TEST_NAVIGATION_MANAGER_DELEGATE_H_
+#define IOS_WEB_TEST_FAKES_TEST_NAVIGATION_MANAGER_DELEGATE_H_
+
+#import "ios/web/navigation/navigation_manager_delegate.h"
+
+namespace web {
+
+class TestNavigationManagerDelegate : public NavigationManagerDelegate {
+ public:
+ void GoToIndex(int index) override;
+ void LoadURLWithParams(const NavigationManager::WebLoadParams&) override;
+ void Reload() override;
+ void OnNavigationItemsPruned(size_t pruned_item_count) override;
+ void OnNavigationItemChanged() override;
+ void OnNavigationItemCommitted(
+ const LoadCommittedDetails& load_details) override;
+ WebState* GetWebState() override;
+};
+
+} // namespace web
+
+#endif // IOS_WEB_TEST_FAKES_TEST_NAVIGATION_MANAGER_DELEGATE_H_
« no previous file with comments | « ios/web/test/fakes/BUILD.gn ('k') | ios/web/test/fakes/test_navigation_manager_delegate.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698