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

Unified Diff: chrome/browser/resources/print_preview/metrics.js

Issue 601573002: Add UMA stats for new Print Preview UI elements. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add INVITATION_AVAILABLE UMA stat. Created 6 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/resources/print_preview/print_preview.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/print_preview/metrics.js
diff --git a/chrome/browser/resources/print_preview/metrics.js b/chrome/browser/resources/print_preview/metrics.js
index 6a034850419b7bbfbea8a894672c836c2fa6dae0..d632d6380a7af012523ccc4e54cdc3290af2d32b 100644
--- a/chrome/browser/resources/print_preview/metrics.js
+++ b/chrome/browser/resources/print_preview/metrics.js
@@ -43,8 +43,14 @@ cr.define('print_preview', function() {
ACCOUNT_CHANGED: 9,
// User tried to log into another account.
ADD_ACCOUNT_SELECTED: 10,
+ // Printer sharing invitation was shown to the user.
+ INVITATION_AVAILABLE: 11,
+ // User accepted printer sharing invitation.
+ INVITATION_ACCEPTED: 12,
+ // User rejected printer sharing invitation.
+ INVITATION_REJECTED: 13,
// Max value.
- DESTINATION_SEARCH_MAX_BUCKET: 11
+ DESTINATION_SEARCH_MAX_BUCKET: 14
};
/**
@@ -75,8 +81,16 @@ cr.define('print_preview', function() {
ADVANCED_SETTINGS_DIALOG_SHOWN: 0,
// Advanced settings dialog is closed without saving a selection.
ADVANCED_SETTINGS_DIALOG_CANCELED: 1,
+ // 'More/less settings' expanded.
+ MORE_SETTINGS_CLICKED: 2,
+ // 'More/less settings' collapsed.
+ LESS_SETTINGS_CLICKED: 3,
+ // User printed with extra settings expanded.
+ PRINT_WITH_SETTINGS_EXPANDED: 4,
+ // User printed with extra settings collapsed.
+ PRINT_WITH_SETTINGS_COLLAPSED: 5,
// Max value.
- PRINT_SETTINGS_UI_MAX_BUCKET: 2
+ PRINT_SETTINGS_UI_MAX_BUCKET: 6
};
/**
« no previous file with comments | « no previous file | chrome/browser/resources/print_preview/print_preview.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698