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

Unified Diff: chrome/browser/ui/webui/ntp/android/navigation_handler.h

Issue 23537017: Update UMA stat code for Android NTP. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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
« no previous file with comments | « no previous file | chrome/browser/ui/webui/ntp/android/navigation_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/ntp/android/navigation_handler.h
diff --git a/chrome/browser/ui/webui/ntp/android/navigation_handler.h b/chrome/browser/ui/webui/ntp/android/navigation_handler.h
index fc45d867099769941d86778f3a83ed864525ed63..0d037248213f463d74c6311c21363bb74cd542eb 100644
--- a/chrome/browser/ui/webui/ntp/android/navigation_handler.h
+++ b/chrome/browser/ui/webui/ntp/android/navigation_handler.h
@@ -6,6 +6,7 @@
#define CHROME_BROWSER_UI_WEBUI_NTP_ANDROID_NAVIGATION_HANDLER_H_
#include "base/compiler_specific.h"
+#include "content/public/browser/navigation_entry.h"
#include "content/public/browser/web_ui_message_handler.h"
namespace base {
@@ -34,6 +35,8 @@ class NavigationHandler : public content::WebUIMessageHandler {
// Callback for "openedForeignSession".
void HandleOpenedForeignSession(const base::ListValue* args);
+ static void RecordActionForNavigation(const content::NavigationEntry& entry);
+
private:
// Possible actions taken by the user on the NTP. This enum is also defined in
// histograms.xml. WARNING: these values must stay in sync with histograms.xml
@@ -57,7 +60,7 @@ class NavigationHandler : public content::WebUIMessageHandler {
NUM_ACTIONS = 7
};
- void RecordAction(Action action);
+ static void RecordAction(Action action);
DISALLOW_COPY_AND_ASSIGN(NavigationHandler);
};
« no previous file with comments | « no previous file | chrome/browser/ui/webui/ntp/android/navigation_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698