| 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 #ifndef IOS_WEB_SHELL_PUBLIC_TEST_NAVIGATION_TEST_UTIL_H_ | 5 #ifndef IOS_WEB_PUBLIC_TEST_NAVIGATION_TEST_UTIL_H_ |
| 6 #define IOS_WEB_SHELL_PUBLIC_TEST_NAVIGATION_TEST_UTIL_H_ | 6 #define IOS_WEB_PUBLIC_TEST_NAVIGATION_TEST_UTIL_H_ |
| 7 | 7 |
| 8 #import "ios/web/public/web_state/web_state.h" | 8 #import "ios/web/public/web_state/web_state.h" |
| 9 #include "url/gurl.h" | 9 #include "url/gurl.h" |
| 10 | 10 |
| 11 namespace web { | 11 namespace web { |
| 12 namespace test { | 12 namespace test { |
| 13 | 13 |
| 14 // Loads |url| in |web_state| with transition of type ui::PAGE_TRANSITION_TYPED. | 14 // Loads |url| in |web_state| with transition of type ui::PAGE_TRANSITION_TYPED. |
| 15 void LoadUrl(web::WebState* web_state, const GURL& url); | 15 void LoadUrl(web::WebState* web_state, const GURL& url); |
| 16 | 16 |
| 17 } // namespace test | 17 } // namespace test |
| 18 } // namespace web | 18 } // namespace web |
| 19 | 19 |
| 20 #endif // IOS_WEB_SHELL_PUBLIC_TEST_NAVIGATION_TEST_UTIL_H_ | 20 #endif // IOS_WEB_PUBLIC_TEST_NAVIGATION_TEST_UTIL_H_ |
| OLD | NEW |