| Index: chrome/browser/ui/webui/ntp/ntp_user_data_logger.h
|
| diff --git a/chrome/browser/ui/webui/ntp/ntp_user_data_logger.h b/chrome/browser/ui/webui/ntp/ntp_user_data_logger.h
|
| index e723c697899f52c7a5f59538860594a2356e0539..d1c28ef2e956a62e2439a0ed5bba07552073ffcf 100644
|
| --- a/chrome/browser/ui/webui/ntp/ntp_user_data_logger.h
|
| +++ b/chrome/browser/ui/webui/ntp/ntp_user_data_logger.h
|
| @@ -41,9 +41,10 @@ class NTPUserDataLogger
|
| // the tab/shutting down Chrome), or when the user navigates to a URL.
|
| void EmitNtpStatistics();
|
|
|
| - // Called each time an event occurs on the NTP that requires a counter to be
|
| - // incremented.
|
| - void LogEvent(NTPLoggingEventType event);
|
| + // Called when an event occurs on the NTP that requires a counter to be
|
| + // incremented. The time parameters contains the time when this event occured
|
| + // since navigation start.
|
| + void LogEvent(NTPLoggingEventType event, int64 time);
|
|
|
| // Logs an impression on one of the Most Visited tiles by a given provider.
|
| void LogMostVisitedImpression(int position, const base::string16& provider);
|
| @@ -96,6 +97,8 @@ class NTPUserDataLogger
|
| // Total number of mouseovers for this NTP session.
|
| size_t number_of_mouseovers_;
|
|
|
| + int64 load_time_;
|
| +
|
| // The URL of this New Tab Page - varies based on NTP version.
|
| GURL ntp_url_;
|
|
|
|
|