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

Unified Diff: chrome/browser/ui/webui/ntp/app_launcher_handler.h

Issue 7550015: ntp4: record app launch source (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: better comments Created 9 years, 4 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/ui/webui/ntp/app_launcher_handler.h
diff --git a/chrome/browser/ui/webui/ntp/app_launcher_handler.h b/chrome/browser/ui/webui/ntp/app_launcher_handler.h
index 7d6305c53ae66fdee13ae3f84bb89bb214b12046..3c9ef478367039f18a741619f625042b4b736ff4 100644
--- a/chrome/browser/ui/webui/ntp/app_launcher_handler.h
+++ b/chrome/browser/ui/webui/ntp/app_launcher_handler.h
@@ -102,6 +102,11 @@ class AppLauncherHandler : public WebUIMessageHandler,
// Callback for the "generateAppForLink" message.
void HandleGenerateAppForLink(const base::ListValue* args);
+ // Callback for the "recordAppLaunchByURL" message. Takes an escaped URL and a
+ // launch source (integer), and if the URL represents an app, records the
+ // action for UMA.
+ void HandleRecordAppLaunchByURL(const base::ListValue* args);
+
// Register app launcher preferences.
static void RegisterUserPrefs(PrefService* pref_service);
« no previous file with comments | « chrome/browser/resources/ntp4/recently_closed.js ('k') | chrome/browser/ui/webui/ntp/app_launcher_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698