| Index: chrome/browser/ui/webui/ntp/new_tab_page_handler.h
|
| diff --git a/chrome/browser/ui/webui/ntp/new_tab_page_handler.h b/chrome/browser/ui/webui/ntp/new_tab_page_handler.h
|
| index 599ee4ccae3a06784a2701ac506e95712b1fe623..bfbbbf48ebcf0765280ba9a8fd832dd2165b7e1f 100644
|
| --- a/chrome/browser/ui/webui/ntp/new_tab_page_handler.h
|
| +++ b/chrome/browser/ui/webui/ntp/new_tab_page_handler.h
|
| @@ -16,8 +16,8 @@ class Profile;
|
| // more specialized handler.
|
| class NewTabPageHandler : public WebUIMessageHandler {
|
| public:
|
| - NewTabPageHandler() {}
|
| - virtual ~NewTabPageHandler() {}
|
| + NewTabPageHandler();
|
| + virtual ~NewTabPageHandler();
|
|
|
| // WebUIMessageHandler implementation.
|
| virtual WebUIMessageHandler* Attach(WebUI* web_ui) OVERRIDE;
|
| @@ -53,6 +53,9 @@ class NewTabPageHandler : public WebUIMessageHandler {
|
| static void DismissIntroMessage(PrefService* prefs);
|
|
|
| private:
|
| + // Tracks the number of times the user has switches pages (for UMA).
|
| + size_t page_switch_count_;
|
| +
|
| // The purpose of this enum is to track which page on the NTP is showing.
|
| // The lower 10 bits of kNTPShownPage are used for the index within the page
|
| // group, and the rest of the bits are used for the page group ID (defined
|
|
|