Chromium Code Reviews| 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,16 @@ |
| 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) { |
| + alias_urls_.push_back(*it); |
| + prerender_tracker_->AddPrerenderURLOnUIThread(*it); |
|
dominich
2011/11/16 20:15:15
This is only used to potentially defer the process
tburkard
2011/11/16 20:17:40
Good catch! I thought prerender trackers were on
|
| + } |
| +} |
| + |
| bool PrerenderContents::MatchesURL(const GURL& url, GURL* matching_url) const { |
| std::vector<GURL>::const_iterator matching_url_iterator = |
| std::find_if(alias_urls_.begin(), |