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

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

Issue 7289020: Updating histograms to allow for experiments & log origin-based histograms. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 6 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
===================================================================
--- 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;

Powered by Google App Engine
This is Rietveld 408576698