| Index: third_party/WebKit/Source/modules/notifications/NotificationImageLoader.cpp
|
| diff --git a/third_party/WebKit/Source/modules/notifications/NotificationImageLoader.cpp b/third_party/WebKit/Source/modules/notifications/NotificationImageLoader.cpp
|
| index 96821797f92ac43b169c10593300f7e54fecf6fb..90954562015a26e10d064979ed005a5df0bc9f82 100644
|
| --- a/third_party/WebKit/Source/modules/notifications/NotificationImageLoader.cpp
|
| +++ b/third_party/WebKit/Source/modules/notifications/NotificationImageLoader.cpp
|
| @@ -21,7 +21,7 @@
|
| #include <memory>
|
|
|
| #define NOTIFICATION_PER_TYPE_HISTOGRAM_COUNTS(metric, type_name, value, max) \
|
| - case NotificationImageLoader::Type::type_name: { \
|
| + case NotificationImageLoader::Type::k##type_name: { \
|
| DEFINE_THREAD_SAFE_STATIC_LOCAL( \
|
| CustomCountHistogram, metric##type_name##Histogram, \
|
| new CustomCountHistogram("Notifications." #metric "." #type_name, \
|
| @@ -31,10 +31,14 @@
|
| }
|
|
|
| #define NOTIFICATION_HISTOGRAM_COUNTS(metric, type, value, max) \
|
| + /* DO NOT SUBMIT - conflict resolution helper:
|
| + * Important to have Image instead of kImage below. */
|
| switch (type) { \
|
| NOTIFICATION_PER_TYPE_HISTOGRAM_COUNTS(metric, Image, value, max) \
|
| NOTIFICATION_PER_TYPE_HISTOGRAM_COUNTS(metric, Icon, value, max) \
|
| NOTIFICATION_PER_TYPE_HISTOGRAM_COUNTS(metric, Badge, value, max) \
|
| + /* DO NOT SUBMIT - conflict resolution helper:
|
| + * Important to have ActionIcon instead of kActionIcon below. */
|
| NOTIFICATION_PER_TYPE_HISTOGRAM_COUNTS(metric, ActionIcon, value, max) \
|
| }
|
|
|
|
|