Index: chrome/browser/prerender/prerender_contents.h |
=================================================================== |
--- chrome/browser/prerender/prerender_contents.h (revision 91002) |
+++ chrome/browser/prerender/prerender_contents.h (working copy) |
@@ -61,7 +61,8 @@ |
Profile* profile, |
const GURL& url, |
const GURL& referrer, |
- Origin origin) = 0; |
+ Origin origin, |
+ char experiment_id) = 0; |
dominich
2011/06/30 18:11:15
A uint8 would be more appropriate than a char. Thi
tburkard
2011/06/30 19:45:48
Done.
|
private: |
DISALLOW_COPY_AND_ASSIGN(Factory); |
@@ -171,7 +172,8 @@ |
Profile* profile, |
const GURL& url, |
const GURL& referrer, |
- Origin origin); |
+ Origin origin, |
+ char experiment_id); |
NotificationRegistrar& notification_registrar() { |
return notification_registrar_; |
@@ -277,6 +279,9 @@ |
// Origin for this prerender. |
Origin origin_; |
+ // Experiment during which this prerender is performed. |
+ char experiment_id_; |
+ |
// Offset by which to offset prerendered pages |
static const int32 kPrerenderPageIdOffset = 10; |