Index: chrome/browser/notifications/sync_notifier/synced_notification.cc |
diff --git a/chrome/browser/notifications/sync_notifier/synced_notification.cc b/chrome/browser/notifications/sync_notifier/synced_notification.cc |
index a7425630b9797cc3ae29dcf1a74d795e1dbb5939..69224f715e6ffdf9f3bd64ce4c4fc0ec2966a206 100644 |
--- a/chrome/browser/notifications/sync_notifier/synced_notification.cc |
+++ b/chrome/browser/notifications/sync_notifier/synced_notification.cc |
@@ -505,10 +505,10 @@ int SyncedNotification::GetPriority() const { |
// Convert the prioroty to the scheme used by the notification center. |
if (protobuf_priority == |
- sync_pb::CoalescedSyncedNotification_Priority_LOW) { |
+ sync_pb::CoalescedSyncedNotification_Priority_INVISIBLE) { |
return message_center::LOW_PRIORITY; |
} else if (protobuf_priority == |
- sync_pb::CoalescedSyncedNotification_Priority_STANDARD) { |
+ sync_pb::CoalescedSyncedNotification_Priority_LOW) { |
return message_center::DEFAULT_PRIORITY; |
} else if (protobuf_priority == |
sync_pb::CoalescedSyncedNotification_Priority_HIGH) { |
@@ -516,7 +516,7 @@ int SyncedNotification::GetPriority() const { |
} else { |
// Complain if this is a new priority we have not seen before. |
DCHECK(protobuf_priority < |
- sync_pb::CoalescedSyncedNotification_Priority_LOW || |
+ sync_pb::CoalescedSyncedNotification_Priority_INVISIBLE || |
sync_pb::CoalescedSyncedNotification_Priority_HIGH < |
protobuf_priority); |
return kUndefinedPriority; |