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

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

Issue 10918189: Add PrerenderStatusEvent on Prerenders (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: rebase to trunk, remove some unrelated fixes... Created 8 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_browsertest.cc ('k') | chrome/browser/prerender/prerender_contents.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/prerender/prerender_contents.h
diff --git a/chrome/browser/prerender/prerender_contents.h b/chrome/browser/prerender/prerender_contents.h
index 4a46b49037a69bb3ca4f7f445b02dc898c41a748..f8a9fb7062bb1cdf492e262f1cda919b4def461e 100644
--- a/chrome/browser/prerender/prerender_contents.h
+++ b/chrome/browser/prerender/prerender_contents.h
@@ -117,6 +117,7 @@ class PrerenderContents : public content::NotificationObserver,
// page should be part of.
virtual void StartPrerendering(
int creator_child_id,
+ int prerender_id,
const gfx::Size& size,
content::SessionStorageNamespace* session_storage_namespace,
bool is_control_group);
@@ -394,6 +395,9 @@ class PrerenderContents : public content::NotificationObserver,
// The process that created the child id.
int creator_child_id_;
+ // The prerender id from the launcher.
+ int prerender_id_;
+
// The size of the WebView from the launching page.
gfx::Size size_;
« no previous file with comments | « chrome/browser/prerender/prerender_browsertest.cc ('k') | chrome/browser/prerender/prerender_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698