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

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
« no previous file with comments | « chrome/browser/resources/print_preview/search/destination_search.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_SHOWN,
131 REGISTER_PROMO_SELECTED,
130 PRINT_DESTINATION_BUCKET_BOUNDARY 132 PRINT_DESTINATION_BUCKET_BOUNDARY
131 }; 133 };
132 134
133 enum GcpPromoBuckets { 135 enum GcpPromoBuckets {
134 PROMO_SHOWN, 136 PROMO_SHOWN,
135 PROMO_CLOSED, 137 PROMO_CLOSED,
136 PROMO_CLICKED, 138 PROMO_CLICKED,
137 GCP_PROMO_BUCKET_BOUNDARY 139 GCP_PROMO_BUCKET_BOUNDARY
138 }; 140 };
139 141
(...skipping 1394 matching lines...) Expand 10 before | Expand all | Expand 10 after
1534 printer_value->SetString("serviceName", name); 1536 printer_value->SetString("serviceName", name);
1535 printer_value->SetString("name", description.name); 1537 printer_value->SetString("name", description.name);
1536 printer_value->SetBoolean("hasLocalPrinting", has_local_printing); 1538 printer_value->SetBoolean("hasLocalPrinting", has_local_printing);
1537 printer_value->SetBoolean( 1539 printer_value->SetBoolean(
1538 "isUnregistered", 1540 "isUnregistered",
1539 description.id.empty()); 1541 description.id.empty());
1540 printer_value->SetString("cloudID", description.id); 1542 printer_value->SetString("cloudID", description.id);
1541 } 1543 }
1542 1544
1543 #endif 1545 #endif
OLDNEW
« no previous file with comments | « chrome/browser/resources/print_preview/search/destination_search.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698