OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "content/child/notifications/notification_data_conversions.h" | 5 #include "content/child/notifications/notification_data_conversions.h" |
6 | 6 |
| 7 #include <stddef.h> |
7 #include <stdint.h> | 8 #include <stdint.h> |
8 | 9 |
| 10 #include "base/macros.h" |
9 #include "base/strings/utf_string_conversions.h" | 11 #include "base/strings/utf_string_conversions.h" |
10 #include "content/public/common/platform_notification_data.h" | 12 #include "content/public/common/platform_notification_data.h" |
11 #include "testing/gmock/include/gmock/gmock.h" | 13 #include "testing/gmock/include/gmock/gmock.h" |
12 #include "testing/gtest/include/gtest/gtest.h" | 14 #include "testing/gtest/include/gtest/gtest.h" |
13 #include "third_party/WebKit/public/platform/WebString.h" | 15 #include "third_party/WebKit/public/platform/WebString.h" |
14 #include "third_party/WebKit/public/platform/WebURL.h" | 16 #include "third_party/WebKit/public/platform/WebURL.h" |
15 #include "third_party/WebKit/public/platform/modules/notifications/WebNotificati
onData.h" | 17 #include "third_party/WebKit/public/platform/modules/notifications/WebNotificati
onData.h" |
16 | 18 |
17 namespace content { | 19 namespace content { |
18 | 20 |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
151 platform_data.direction = pair.second; | 153 platform_data.direction = pair.second; |
152 | 154 |
153 blink::WebNotificationData web_data = | 155 blink::WebNotificationData web_data = |
154 ToWebNotificationData(platform_data); | 156 ToWebNotificationData(platform_data); |
155 EXPECT_EQ(pair.first, web_data.direction); | 157 EXPECT_EQ(pair.first, web_data.direction); |
156 } | 158 } |
157 } | 159 } |
158 } | 160 } |
159 | 161 |
160 } // namespace content | 162 } // namespace content |
OLD | NEW |