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

Side by Side Diff: chrome/browser/ui/webui/print_preview/print_preview_handler.cc

Issue 189623004: UMA Histograms for Register Promos (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "chrome/browser/ui/webui/print_preview/print_preview_handler.h" 5 #include "chrome/browser/ui/webui/print_preview/print_preview_handler.h"
6 6
7 #include <ctype.h> 7 #include <ctype.h>
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 }; 120 };
121 121
122 enum PrintDestinationBuckets { 122 enum PrintDestinationBuckets {
123 DESTINATION_SHOWN, 123 DESTINATION_SHOWN,
124 DESTINATION_CLOSED_CHANGED, 124 DESTINATION_CLOSED_CHANGED,
125 DESTINATION_CLOSED_UNCHANGED, 125 DESTINATION_CLOSED_UNCHANGED,
126 SIGNIN_PROMPT, 126 SIGNIN_PROMPT,
127 SIGNIN_TRIGGERED, 127 SIGNIN_TRIGGERED,
128 PRIVET_DUPLICATE_SELECTED, 128 PRIVET_DUPLICATE_SELECTED,
129 CLOUD_DUPLICATE_SELECTED, 129 CLOUD_DUPLICATE_SELECTED,
130 REGISTER_PROMO_SELECTED,
130 PRINT_DESTINATION_BUCKET_BOUNDARY 131 PRINT_DESTINATION_BUCKET_BOUNDARY
131 }; 132 };
132 133
133 enum GcpPromoBuckets { 134 enum GcpPromoBuckets {
134 PROMO_SHOWN, 135 PROMO_SHOWN,
135 PROMO_CLOSED, 136 PROMO_CLOSED,
136 PROMO_CLICKED, 137 PROMO_CLICKED,
137 GCP_PROMO_BUCKET_BOUNDARY 138 GCP_PROMO_BUCKET_BOUNDARY
138 }; 139 };
139 140
(...skipping 1394 matching lines...) Expand 10 before | Expand all | Expand 10 after
1534 printer_value->SetString("serviceName", name); 1535 printer_value->SetString("serviceName", name);
1535 printer_value->SetString("name", description.name); 1536 printer_value->SetString("name", description.name);
1536 printer_value->SetBoolean("hasLocalPrinting", has_local_printing); 1537 printer_value->SetBoolean("hasLocalPrinting", has_local_printing);
1537 printer_value->SetBoolean( 1538 printer_value->SetBoolean(
1538 "isUnregistered", 1539 "isUnregistered",
1539 description.id.empty()); 1540 description.id.empty());
1540 printer_value->SetString("cloudID", description.id); 1541 printer_value->SetString("cloudID", description.id);
1541 } 1542 }
1542 1543
1543 #endif 1544 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698