| Index: content/public/test/content_browser_test_utils.cc
|
| diff --git a/content/public/test/content_browser_test_utils.cc b/content/public/test/content_browser_test_utils.cc
|
| index dab6f7270b64d76440f4654a9f00bc5ce2700a83..daa8e09267aec581b1ada59ffba88c66473c0475 100644
|
| --- a/content/public/test/content_browser_test_utils.cc
|
| +++ b/content/public/test/content_browser_test_utils.cc
|
| @@ -53,6 +53,17 @@ void ReloadBlockUntilNavigationsComplete(Shell* window,
|
| same_tab_observer.Wait();
|
| }
|
|
|
| +void ReloadBypassingCacheBlockUntilNavigationsComplete(
|
| + Shell* window,
|
| + int number_of_navigations) {
|
| + WaitForLoadStop(window->web_contents());
|
| + TestNavigationObserver same_tab_observer(window->web_contents(),
|
| + number_of_navigations);
|
| +
|
| + window->ReloadBypassingCache();
|
| + same_tab_observer.Wait();
|
| +}
|
| +
|
| void LoadDataWithBaseURL(Shell* window,
|
| const GURL& url,
|
| const std::string& data,
|
|
|