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

Unified Diff: chrome/browser/ui/cocoa/website_settings_bubble_controller.mm

Issue 10908092: Add UMA stats for the Website Setting UI (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase on tot Created 8 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
Index: chrome/browser/ui/cocoa/website_settings_bubble_controller.mm
diff --git a/chrome/browser/ui/cocoa/website_settings_bubble_controller.mm b/chrome/browser/ui/cocoa/website_settings_bubble_controller.mm
index 525e72befa06acf46392329d2e08692560390a0c..da92801afbdd943ed6c9ff15e4c4c84df199d4f4 100644
--- a/chrome/browser/ui/cocoa/website_settings_bubble_controller.mm
+++ b/chrome/browser/ui/cocoa/website_settings_bubble_controller.mm
@@ -19,6 +19,7 @@
#include "chrome/common/url_constants.h"
#include "content/public/browser/cert_store.h"
#include "content/public/browser/page_navigator.h"
+#include "content/public/browser/user_metrics.h"
#include "content/public/browser/web_contents.h"
#include "grit/chromium_strings.h"
#include "grit/generated_resources.h"
@@ -446,6 +447,8 @@ NSColor* IdentityVerifiedTextColor() {
// Handler for the link button below the list of cookies.
- (void)showCookiesAndSiteData:(id)sender {
DCHECK(tabContents_);
+ content::RecordAction(
+ content::UserMetricsAction("WebsiteSettings_CookiesDialogOpened"));
chrome::ShowCollectedCookiesDialog(tabContents_);
}
« no previous file with comments | « no previous file | chrome/browser/ui/gtk/website_settings/website_settings_popup_gtk.cc » ('j') | chrome/tools/chromeactions.txt » ('J')

Powered by Google App Engine
This is Rietveld 408576698