| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 #import "ios/web/public/test/fakes/test_navigation_manager.h" | 5 #import "ios/web/public/test/fakes/test_navigation_manager.h" |
| 6 | 6 |
| 7 namespace web { | 7 namespace web { |
| 8 | 8 |
| 9 TestNavigationManager::TestNavigationManager() | 9 TestNavigationManager::TestNavigationManager() |
| 10 : pending_item_(nullptr), | 10 : pending_item_(nullptr), |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 pending_item_ = item; | 47 pending_item_ = item; |
| 48 } | 48 } |
| 49 | 49 |
| 50 web::NavigationItem* TestNavigationManager::GetTransientItem() const { | 50 web::NavigationItem* TestNavigationManager::GetTransientItem() const { |
| 51 NOTREACHED(); | 51 NOTREACHED(); |
| 52 return nullptr; | 52 return nullptr; |
| 53 } | 53 } |
| 54 | 54 |
| 55 void TestNavigationManager::DiscardNonCommittedItems() { | 55 void TestNavigationManager::DiscardNonCommittedItems() { |
| 56 NOTREACHED(); | 56 NOTREACHED(); |
| 57 return; | |
| 58 } | 57 } |
| 59 | 58 |
| 60 void TestNavigationManager::LoadIfNecessary() { | 59 void TestNavigationManager::LoadIfNecessary() { |
| 61 NOTREACHED(); | 60 NOTREACHED(); |
| 62 return; | |
| 63 } | 61 } |
| 64 | 62 |
| 65 void TestNavigationManager::LoadURLWithParams( | 63 void TestNavigationManager::LoadURLWithParams( |
| 66 const NavigationManager::WebLoadParams& params) { | 64 const NavigationManager::WebLoadParams& params) { |
| 67 NOTREACHED(); | 65 NOTREACHED(); |
| 68 return; | |
| 69 } | 66 } |
| 70 | 67 |
| 71 void TestNavigationManager::AddTransientURLRewriter( | 68 void TestNavigationManager::AddTransientURLRewriter( |
| 72 BrowserURLRewriter::URLRewriter rewriter) { | 69 BrowserURLRewriter::URLRewriter rewriter) { |
| 73 NOTREACHED(); | 70 NOTREACHED(); |
| 74 return; | |
| 75 } | 71 } |
| 76 | 72 |
| 77 int TestNavigationManager::GetItemCount() const { | 73 int TestNavigationManager::GetItemCount() const { |
| 78 NOTREACHED(); | 74 NOTREACHED(); |
| 79 return 0; | 75 return 0; |
| 80 } | 76 } |
| 81 | 77 |
| 82 web::NavigationItem* TestNavigationManager::GetItemAtIndex(size_t index) const { | 78 web::NavigationItem* TestNavigationManager::GetItemAtIndex(size_t index) const { |
| 83 NOTREACHED(); | 79 NOTREACHED(); |
| 84 return nullptr; | 80 return nullptr; |
| (...skipping 29 matching lines...) Expand all Loading... |
| 114 return false; | 110 return false; |
| 115 } | 111 } |
| 116 | 112 |
| 117 bool TestNavigationManager::CanGoToOffset(int offset) const { | 113 bool TestNavigationManager::CanGoToOffset(int offset) const { |
| 118 NOTREACHED(); | 114 NOTREACHED(); |
| 119 return false; | 115 return false; |
| 120 } | 116 } |
| 121 | 117 |
| 122 void TestNavigationManager::GoBack() { | 118 void TestNavigationManager::GoBack() { |
| 123 NOTREACHED(); | 119 NOTREACHED(); |
| 124 return; | |
| 125 } | 120 } |
| 126 | 121 |
| 127 void TestNavigationManager::GoForward() { | 122 void TestNavigationManager::GoForward() { |
| 128 NOTREACHED(); | 123 NOTREACHED(); |
| 129 return; | |
| 130 } | 124 } |
| 131 | 125 |
| 132 void TestNavigationManager::GoToIndex(int index) { | 126 void TestNavigationManager::GoToIndex(int index) { |
| 133 NOTREACHED(); | 127 NOTREACHED(); |
| 134 return; | |
| 135 } | 128 } |
| 136 | 129 |
| 137 void TestNavigationManager::Reload(bool check_for_repost) { | 130 void TestNavigationManager::Reload(bool check_for_repost) { |
| 138 NOTREACHED(); | 131 NOTREACHED(); |
| 139 return; | 132 } |
| 133 |
| 134 void TestNavigationManager::OverrideDesktopUserAgentForNextPendingItem() { |
| 135 NOTREACHED(); |
| 140 } | 136 } |
| 141 | 137 |
| 142 } // namespace web | 138 } // namespace web |
| OLD | NEW |