| Index: ios/web/test/web_int_test.h
|
| diff --git a/ios/web/test/web_int_test.h b/ios/web/test/web_int_test.h
|
| index 3471a40e4c4fc066b080f77762bdf9cb345c1648..4330b1f2a0e9d923952e19125e1f0d789228c79c 100644
|
| --- a/ios/web/test/web_int_test.h
|
| +++ b/ios/web/test/web_int_test.h
|
| @@ -35,6 +35,11 @@ class WebIntTest : public WebTest {
|
| return web_state()->GetNavigationManager();
|
| }
|
|
|
| + // Returns the last committed NavigationItem in |navigation_manager|.
|
| + NavigationItem* GetLastCommittedItem() {
|
| + return navigation_manager()->GetLastCommittedItem();
|
| + }
|
| +
|
| // Synchronously executes |script| on |web_state|'s JS injection receiver and
|
| // returns the result.
|
| id ExecuteJavaScript(NSString* script);
|
|
|