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

Unified Diff: content/browser/notifications/notification_database_data_unittest.cc

Issue 1901133002: Move the notification constants to Blink (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« no previous file with comments | « content/browser/DEPS ('k') | content/browser/notifications/notification_message_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/notifications/notification_database_data_unittest.cc
diff --git a/content/browser/notifications/notification_database_data_unittest.cc b/content/browser/notifications/notification_database_data_unittest.cc
index bf93b3547eeab8db148eec9b9ab7dca781214871..8c8e7dd77794be6c49596e48499100bc0580cdfd 100644
--- a/content/browser/notifications/notification_database_data_unittest.cc
+++ b/content/browser/notifications/notification_database_data_unittest.cc
@@ -12,10 +12,10 @@
#include "base/time/time.h"
#include "content/browser/notifications/notification_database_data.pb.h"
#include "content/browser/notifications/notification_database_data_conversions.h"
-#include "content/common/notification_constants.h"
#include "content/public/browser/notification_database_data.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
+#include "third_party/WebKit/public/platform/modules/notifications/WebNotificationConstants.h"
namespace content {
@@ -59,7 +59,7 @@ TEST(NotificationDatabaseDataTest, SerializeAndDeserializeData) {
notification_data.silent = true;
notification_data.require_interaction = true;
notification_data.data = developer_data;
- for (size_t i = 0; i < kPlatformNotificationMaxActions; i++) {
+ for (size_t i = 0; i < blink::kWebNotificationMaxActions; i++) {
PlatformNotificationAction notification_action;
notification_action.type = kNotificationActionType;
notification_action.action = base::SizeTToString(i);
« no previous file with comments | « content/browser/DEPS ('k') | content/browser/notifications/notification_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698