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); |
dominich
2011/11/16 19:11:26
CHECK the return value here - it would be awful if
tburkard
2011/11/16 19:21:31
not running these checks anymore, adding directly,
|
+ } |
+} |
+ |
bool PrerenderContents::MatchesURL(const GURL& url, GURL* matching_url) const { |
std::vector<GURL>::const_iterator matching_url_iterator = |
std::find_if(alias_urls_.begin(), |