Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(189)

Unified Diff: chrome/browser/prerender/prerender_test_utils.h

Issue 2807163002: [Prerender] Restore request priorities when swapped in (Closed)
Patch Set: Fix test: default image priority can be LOWEST or MEDIUM Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/prerender/prerender_test_utils.h
diff --git a/chrome/browser/prerender/prerender_test_utils.h b/chrome/browser/prerender/prerender_test_utils.h
index cdc266baa30ccd705b62d37e3175c95c5cd905a3..55d889bc789d99062232bc5466618c6abb285959 100644
--- a/chrome/browser/prerender/prerender_test_utils.h
+++ b/chrome/browser/prerender/prerender_test_utils.h
@@ -433,10 +433,12 @@ void InterceptRequestAndCount(
void CreateMockInterceptorOnIO(const GURL& url, const base::FilePath& file);
// Makes |url| never respond on the first load, and then with the contents of
-// |file| afterwards. When the first load has been scheduled, runs |callback| on
-// the UI thread.
-void CreateHangingFirstRequestInterceptorOnIO(
- const GURL& url, const base::FilePath& file, base::Closure callback);
+// |file| afterwards. When the first load has been scheduled, runs |callback_io|
+// on the IO thread.
+void CreateHangingFirstRequestInterceptor(
+ const GURL& url,
+ const base::FilePath& file,
+ base::Callback<void(net::URLRequest*)> callback_io);
} // namespace test_utils
« no previous file with comments | « chrome/browser/prerender/prerender_resource_throttle.cc ('k') | chrome/browser/prerender/prerender_test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698