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

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

Issue 8583001: For the MatchComplete PPLT change in prerendering, (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 1 month 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_contents.cc
===================================================================
--- chrome/browser/prerender/prerender_contents.cc (revision 110332)
+++ chrome/browser/prerender/prerender_contents.cc (working copy)
@@ -506,6 +506,15 @@
return true;
}
+void PrerenderContents::AddAliasURLsFromOtherPrerenderContents(
+ PrerenderContents* other_pc) {
+ for (std::vector<GURL>::const_iterator it = other_pc->alias_urls_.begin();
+ it != other_pc->alias_urls_.end();
+ ++it) {
+ AddAliasUrl(*it);
cbentzel 2011/11/16 19:06:29 Do you just want to directly add this to alias_url
tburkard 2011/11/16 19:21:31 Done.
+ }
+}
+
bool PrerenderContents::MatchesURL(const GURL& url, GURL* matching_url) const {
std::vector<GURL>::const_iterator matching_url_iterator =
std::find_if(alias_urls_.begin(),

Powered by Google App Engine
This is Rietveld 408576698