| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 <stdint.h> |
| 6 |
| 7 #include "base/macros.h" |
| 5 #include "base/strings/string_number_conversions.h" | 8 #include "base/strings/string_number_conversions.h" |
| 6 #include "content/browser/notifications/notification_id_generator.h" | 9 #include "content/browser/notifications/notification_id_generator.h" |
| 7 #include "content/public/test/test_browser_context.h" | 10 #include "content/public/test/test_browser_context.h" |
| 8 #include "testing/gtest/include/gtest/gtest.h" | 11 #include "testing/gtest/include/gtest/gtest.h" |
| 9 #include "url/gurl.h" | 12 #include "url/gurl.h" |
| 10 | 13 |
| 11 namespace content { | 14 namespace content { |
| 12 namespace { | 15 namespace { |
| 13 | 16 |
| 14 const int kRenderProcessId = 42; | 17 const int kRenderProcessId = 42; |
| (...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 302 | 305 |
| 303 EXPECT_NE( | 306 EXPECT_NE( |
| 304 generator_rpi_5.GenerateForNonPersistentNotification( | 307 generator_rpi_5.GenerateForNonPersistentNotification( |
| 305 origin(), "" /* tag */, 1337 /* non_persistent_notification_id */), | 308 origin(), "" /* tag */, 1337 /* non_persistent_notification_id */), |
| 306 generator_rpi_51.GenerateForNonPersistentNotification( | 309 generator_rpi_51.GenerateForNonPersistentNotification( |
| 307 origin(), "" /* tag */, 337 /* non_persistent_notification_id */)); | 310 origin(), "" /* tag */, 337 /* non_persistent_notification_id */)); |
| 308 } | 311 } |
| 309 | 312 |
| 310 } // namespace | 313 } // namespace |
| 311 } // namespace content | 314 } // namespace content |
| OLD | NEW |