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(), |