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

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: Created 8 years, 3 months 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
Index: chrome/browser/prerender/prerender_contents.h
diff --git a/chrome/browser/prerender/prerender_contents.h b/chrome/browser/prerender/prerender_contents.h
index bd0de98ea5c5f5a66f1d034a6fbf585128aacb4c..7d55e2217dc4619ee019f1e8c823cba393c65ffa 100644
--- a/chrome/browser/prerender/prerender_contents.h
+++ b/chrome/browser/prerender/prerender_contents.h
@@ -112,6 +112,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);
@@ -380,6 +381,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_;

Powered by Google App Engine
This is Rietveld 408576698