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

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

Issue 725853002: Move app launch metric recording code from NTP to chrome/common. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More mac Created 6 years, 1 month 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/core_app_launcher_handler.h
diff --git a/chrome/browser/ui/webui/ntp/core_app_launcher_handler.h b/chrome/browser/ui/webui/ntp/core_app_launcher_handler.h
index 8b2d7cff50e32170988311ad5c4196a271a7c37a..3db6cdb29fe0173dd759053fd2a6ab157157f448 100644
--- a/chrome/browser/ui/webui/ntp/core_app_launcher_handler.h
+++ b/chrome/browser/ui/webui/ntp/core_app_launcher_handler.h
@@ -29,22 +29,9 @@ class CoreAppLauncherHandler : public content::WebUIMessageHandler {
CoreAppLauncherHandler();
~CoreAppLauncherHandler() override;
- // Records the given type of app launch for UMA.
- static void RecordAppLaunchType(extension_misc::AppLaunchBucket bucket,
- extensions::Manifest::Type app_type);
-
// Register app launcher preferences.
static void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry);
- // Records an app launch from the search view of the app list.
- static void RecordAppListSearchLaunch(const extensions::Extension* extension);
-
- // Records an app launch from the main view of the app list.
- static void RecordAppListMainLaunch(const extensions::Extension* extension);
-
- // Records a web store launch in the appropriate histograms.
- static void RecordWebStoreLaunch();
-
private:
// Callback for the "recordAppLaunchByUrl" message. Takes an escaped URL and
// a launch source(integer), and if the URL represents an app, records the
« no previous file with comments | « chrome/browser/ui/webui/ntp/app_launcher_handler.cc ('k') | chrome/browser/ui/webui/ntp/core_app_launcher_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698