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

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

Issue 2642733002: Prerender: Disable prefetch if there's an appcache. (Closed)
Patch Set: Prerender: Disable prefetch if there's an appcache. 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 40da70aa063f7f1045412b96a3bb06b1613de160..cdc266baa30ccd705b62d37e3175c95c5cd905a3 100644
--- a/chrome/browser/prerender/prerender_test_utils.h
+++ b/chrome/browser/prerender/prerender_test_utils.h
@@ -355,6 +355,12 @@ class PrerenderInProcessBrowserTest : virtual public InProcessBrowserTest {
// Returns a string for pattern-matching TaskManager prerender entries.
base::string16 MatchTaskManagerPrerender(const char* page_title);
+ // Returns a GURL for an EmbeddedTestServer that will serves the file
+ // |url_file| with |replacement_text| replacing |replacement_variable|.
+ GURL GetURLWithReplacement(const std::string& url_file,
+ const std::string& replacement_variable,
+ const std::string& replacement_text);
+
protected:
// For each FinalStatus in |expected_final_status_queue| creates a prerender
// that is going to verify the correctness of its FinalStatus upon
« no previous file with comments | « chrome/browser/prerender/prerender_nostate_prefetch_browsertest.cc ('k') | chrome/browser/prerender/prerender_test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698