OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |