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

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
« no previous file with comments | « chrome/browser/prerender/prerender_contents.h ('k') | chrome/browser/prerender/prerender_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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(),
« no previous file with comments | « chrome/browser/prerender/prerender_contents.h ('k') | chrome/browser/prerender/prerender_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698