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

Side by Side Diff: content/browser/notifications/notification_id_generator_unittest.cc

Issue 1549113002: Switch to standard integer types in content/browser/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 12 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 unified diff | Download patch
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698