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

Side by Side Diff: chrome/browser/ui/apps/app_info_dialog.h

Issue 424943002: Add UMA for app info dialog (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added enum for dialog launches Created 6 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_APPS_APP_INFO_DIALOG_H_ 5 #ifndef CHROME_BROWSER_UI_APPS_APP_INFO_DIALOG_H_
6 #define CHROME_BROWSER_UI_APPS_APP_INFO_DIALOG_H_ 6 #define CHROME_BROWSER_UI_APPS_APP_INFO_DIALOG_H_
7 7
8 class AppListControllerDelegate; 8 class AppListControllerDelegate;
9 class Profile; 9 class Profile;
10 10
11 namespace extensions { 11 namespace extensions {
12 class Extension; 12 class Extension;
13 } 13 }
14 14
15 // Used for UMA to track where the App Info dialog is launched from.
16 enum AppInfoDialogLaunchSource {
benwells 2014/08/04 02:31:59 Why is INVALID needed?
17 INVALID,
18 FROM_APP_LIST, // Launched from the app list context menu.
19 NUM_LAUNCH_SOURCES
20 };
21
15 // Shows the chrome app information dialog box. 22 // Shows the chrome app information dialog box.
16 void ShowAppInfoDialog(AppListControllerDelegate* app_list_controller_delegate, 23 void ShowAppInfoDialog(AppListControllerDelegate* app_list_controller_delegate,
17 Profile* profile, 24 Profile* profile,
18 const extensions::Extension* app); 25 const extensions::Extension* app);
19 26
20 #endif // CHROME_BROWSER_UI_APPS_APP_INFO_DIALOG_H_ 27 #endif // CHROME_BROWSER_UI_APPS_APP_INFO_DIALOG_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/app_list/app_context_menu.cc ('k') | chrome/browser/ui/views/apps/app_info_dialog/app_info_dialog_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698