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

Unified Diff: chrome/browser/push_messaging/push_messaging_notification_manager.cc

Issue 1262023003: Serialize Notification.direction == "auto" in the database (2/3) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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: chrome/browser/push_messaging/push_messaging_notification_manager.cc
diff --git a/chrome/browser/push_messaging/push_messaging_notification_manager.cc b/chrome/browser/push_messaging/push_messaging_notification_manager.cc
index a385f1f43ad4f12973992b3acf13ecdc629664e9..7e7cc92fdf0b307867dd6bb5fa683631c7250a54 100644
--- a/chrome/browser/push_messaging/push_messaging_notification_manager.cc
+++ b/chrome/browser/push_messaging/push_messaging_notification_manager.cc
@@ -262,7 +262,7 @@ void PushMessagingNotificationManager::DidGetNotificationsShownAndNeeded(
requesting_origin.host(),
net::registry_controlled_domains::INCLUDE_PRIVATE_REGISTRIES));
notification_data.direction =
- content::PlatformNotificationData::NotificationDirectionLeftToRight;
+ content::PlatformNotificationData::DIRECTION_LEFT_TO_RIGHT;
notification_data.body =
l10n_util::GetStringUTF16(IDS_PUSH_MESSAGING_GENERIC_NOTIFICATION_BODY);
notification_data.tag = kPushMessagingForcedNotificationTag;

Powered by Google App Engine
This is Rietveld 408576698