Simplify some NavigateToURLWithDisposition() calls to just NavigateToURL()
Do the same for NavigateToURLBlockUntilNavigationsComplete().
Review URL: https://codereview.chromium.org/802033002
Cr-Commit-Position: refs/heads/master@{#308538}
diff --git a/chrome/browser/extensions/app_process_apitest.cc b/chrome/browser/extensions/app_process_apitest.cc
index 2ce3d90..731cded 100644
--- a/chrome/browser/extensions/app_process_apitest.cc
+++ b/chrome/browser/extensions/app_process_apitest.cc
@@ -688,11 +688,8 @@
test_navigation_observer.StartWatchingNewWebContents();
// Load the launcher extension, which should launch the app.
- ui_test_utils::NavigateToURLWithDisposition(
- browser(),
- launcher->GetResourceURL("server_redirect.html"),
- CURRENT_TAB,
- ui_test_utils::BROWSER_TEST_WAIT_FOR_NAVIGATION);
+ ui_test_utils::NavigateToURL(
+ browser(), launcher->GetResourceURL("server_redirect.html"));
// Wait for app tab to be created and loaded.
test_navigation_observer.Wait();
@@ -727,11 +724,8 @@
test_navigation_observer.StartWatchingNewWebContents();
// Load the launcher extension, which should launch the app.
- ui_test_utils::NavigateToURLWithDisposition(
- browser(),
- launcher->GetResourceURL("client_redirect.html"),
- CURRENT_TAB,
- ui_test_utils::BROWSER_TEST_WAIT_FOR_NAVIGATION);
+ ui_test_utils::NavigateToURL(
+ browser(), launcher->GetResourceURL("client_redirect.html"));
// Wait for app tab to be created and loaded.
test_navigation_observer.Wait();