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

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

Issue 2790323003: Revert of Prerender: Disable prefetch if there's an appcache. (Closed)
Patch Set: Created 3 years, 9 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
« no previous file with comments | « chrome/browser/prerender/prerender_test_utils.h ('k') | chrome/test/data/prerender/appcache.manifest » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/prerender/prerender_test_utils.cc
diff --git a/chrome/browser/prerender/prerender_test_utils.cc b/chrome/browser/prerender/prerender_test_utils.cc
index 9ee543ac0b93d75a831053c7c99e995992dc8fe9..abded1130aa8f308e7d8cd03b5ef85343dab4949 100644
--- a/chrome/browser/prerender/prerender_test_utils.cc
+++ b/chrome/browser/prerender/prerender_test_utils.cc
@@ -745,18 +745,6 @@
base::ASCIIToUTF16(page_title));
}
-GURL PrerenderInProcessBrowserTest::GetURLWithReplacement(
- const std::string& url_file,
- const std::string& replacement_variable,
- const std::string& replacement_text) {
- base::StringPairs replacement_pair;
- replacement_pair.push_back(make_pair(replacement_variable, replacement_text));
- std::string replacement_path;
- net::test_server::GetFilePathWithReplacements(url_file, replacement_pair,
- &replacement_path);
- return src_server()->GetURL(MakeAbsolute(replacement_path));
-}
-
std::vector<std::unique_ptr<TestPrerender>>
PrerenderInProcessBrowserTest::NavigateWithPrerenders(
const GURL& loader_url,
« no previous file with comments | « chrome/browser/prerender/prerender_test_utils.h ('k') | chrome/test/data/prerender/appcache.manifest » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698