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

Unified Diff: content/child/service_worker/service_worker_dispatcher_unittest.cc

Issue 2489883006: Replace registration_id() with registrationId() (Closed)
Patch Set: Rebase Created 4 years, 1 month 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
Index: content/child/service_worker/service_worker_dispatcher_unittest.cc
diff --git a/content/child/service_worker/service_worker_dispatcher_unittest.cc b/content/child/service_worker/service_worker_dispatcher_unittest.cc
index d00644b30d21bc56db007ae4425dcfdfa89afe24..858df6f20e03f911f2c7ed71bda3dc01f1fc4f99 100644
--- a/content/child/service_worker/service_worker_dispatcher_unittest.cc
+++ b/content/child/service_worker/service_worker_dispatcher_unittest.cc
@@ -435,7 +435,7 @@ TEST_F(ServiceWorkerDispatcherTest, GetOrCreateRegistration) {
dispatcher()->GetOrCreateRegistration(info, attrs));
EXPECT_TRUE(registration1);
EXPECT_TRUE(ContainsRegistration(info.handle_id));
- EXPECT_EQ(info.registration_id, registration1->registration_id());
+ EXPECT_EQ(info.registration_id, registration1->registrationId());
ASSERT_EQ(4UL, ipc_sink()->message_count());
EXPECT_EQ(ServiceWorkerHostMsg_IncrementRegistrationRefCount::ID,
ipc_sink()->GetMessageAt(0)->type());
@@ -483,7 +483,7 @@ TEST_F(ServiceWorkerDispatcherTest, GetOrAdoptRegistration) {
dispatcher()->GetOrAdoptRegistration(info, attrs));
EXPECT_TRUE(registration1);
EXPECT_TRUE(ContainsRegistration(info.handle_id));
- EXPECT_EQ(info.registration_id, registration1->registration_id());
+ EXPECT_EQ(info.registration_id, registration1->registrationId());
EXPECT_EQ(0UL, ipc_sink()->message_count());
ipc_sink()->ClearMessages();
« no previous file with comments | « content/child/push_messaging/push_provider.cc ('k') | content/child/service_worker/web_service_worker_registration_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698