OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "ios/chrome/test/app/navigation_test_util.h" |
| 6 |
| 7 #import "ios/chrome/test/app/chrome_test_util.h" |
| 8 #import "ios/web/public/test/navigation_test_util.h" |
| 9 |
| 10 namespace chrome_test_util { |
| 11 |
| 12 void LoadUrl(const GURL& url) { |
| 13 web::test::LoadUrl(GetCurrentWebState(), url); |
| 14 } |
| 15 |
| 16 bool IsLoading() { |
| 17 return GetCurrentWebState()->IsLoading(); |
| 18 } |
| 19 |
| 20 } // namespace chrome_test_util |
OLD | NEW |