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

Unified Diff: third_party/WebKit/Source/modules/notifications/NotificationImageLoader.cpp

Issue 2329463004: ABANDONED CL: Changes needed to make things compile after running rewrite_to_chrome_style tool. (Closed)
Patch Set: More fixes - things build fine at this point. Created 3 years, 8 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
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 08af273aa51c4dae729eb92b200a4423f42acb6d..31b462ecec705e79090947f8e466595c594bac8d 100644
--- a/third_party/WebKit/Source/modules/notifications/NotificationImageLoader.cpp
+++ b/third_party/WebKit/Source/modules/notifications/NotificationImageLoader.cpp
@@ -21,7 +21,7 @@
#include "wtf/Threading.h"
#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) \
}

Powered by Google App Engine
This is Rietveld 408576698