/external/chromium_org/content/browser/service_worker/ |
D | service_worker_context_unittest.cc | 30 int64 registration_id, in SaveResponseCallback() argument 34 *store_registration_id = registration_id; in SaveResponseCallback() 141 int64 registration_id = kInvalidServiceWorkerRegistrationId; in TEST_F() local 148 MakeRegisteredCallback(&called, ®istration_id, &version_id)); in TEST_F() 163 EXPECT_NE(kInvalidServiceWorkerRegistrationId, registration_id); in TEST_F() 167 registration_id, in TEST_F() 183 int64 registration_id = kInvalidServiceWorkerRegistrationId; in TEST_F() local 190 MakeRegisteredCallback(&called, ®istration_id, &version_id)); in TEST_F() 205 EXPECT_NE(kInvalidServiceWorkerRegistrationId, registration_id); in TEST_F() 209 registration_id, in TEST_F() [all …]
|
D | service_worker_database_unittest.cc | 58 EXPECT_EQ(expected.registration_id, actual.registration_id); in VerifyRegistrationData() 164 data1.registration_id = 100; in TEST() 207 data2.registration_id = 10; in TEST() 246 data1.registration_id = 123; in TEST() 257 data2.registration_id = 234; in TEST() 268 data3.registration_id = 345; in TEST() 279 data4.registration_id = 456; in TEST() 300 database->DeleteRegistration(data4.registration_id, in TEST() 315 database->DeleteRegistration(data3.registration_id, in TEST() 345 data1.registration_id = 100; in TEST() [all …]
|
D | service_worker_database.h | 54 int64 registration_id; member 110 int64 registration_id, 132 int64 registration_id, 138 int64 registration_id, 148 Status DeleteRegistration(int64 registration_id, 222 int64 registration_id,
|
D | service_worker_info.cc | 46 int64 registration_id, in ServiceWorkerRegistrationInfo() argument 51 registration_id(registration_id), in ServiceWorkerRegistrationInfo()
|
D | service_worker_database.cc | 92 std::string CreateRegistrationKey(int64 registration_id, in CreateRegistrationKey() argument 98 base::Int64ToString(registration_id).c_str()); in CreateRegistrationKey() 130 data.set_registration_id(input.registration_id); in PutRegistrationDataToBatch() 142 batch->Put(CreateRegistrationKey(data.registration_id(), origin), value); in PutRegistrationDataToBatch() 222 out->registration_id = data.registration_id(); in ParseRegistrationData() 288 : registration_id(kInvalidServiceWorkerRegistrationId), in RegistrationData() 456 int64 registration_id, in ReadRegistration() argument 469 status = ReadRegistrationData(registration_id, origin, &value); in ReadRegistration() 493 BumpNextRegistrationIdIfNeeded(registration.registration_id, &batch); in WriteRegistration() 523 status = ReadRegistrationData(registration.registration_id, in WriteRegistration() [all …]
|
D | service_worker_storage.cc | 213 : registration_id(kInvalidServiceWorkerRegistrationId) { in DidDeleteRegistrationParams() 351 int64 registration_id, in FindRegistrationForId() argument 356 weak_factory_.GetWeakPtr(), registration_id, origin, callback))) { in FindRegistrationForId() 369 FindInstallingRegistrationForId(registration_id); in FindRegistrationForId() 379 context_->GetLiveRegistration(registration_id); in FindRegistrationForId() 390 registration_id, origin, in FindRegistrationForId() 435 data.registration_id = registration->id(); in StoreRegistration() 504 int64 registration_id, in DeleteRegistration() argument 517 params.registration_id = registration_id; in DeleteRegistration() 526 registration_id, origin, in DeleteRegistration() [all …]
|
D | service_worker_storage.h | 86 void FindRegistrationForId(int64 registration_id, in NON_EXPORTED_BASE() 116 void DeleteRegistration(int64 registration_id, in NON_EXPORTED_BASE() 191 int64 registration_id; in NON_EXPORTED_BASE() member 286 int64 registration_id); in NON_EXPORTED_BASE() 317 int64 registration_id, in NON_EXPORTED_BASE() 339 int64 registration_id, in NON_EXPORTED_BASE()
|
D | service_worker_info.h | 43 int64 registration_id, 50 int64 registration_id; variable
|
D | service_worker_context_core.h | 62 int64 registration_id, in NON_EXPORTED_BASE() 159 ServiceWorkerRegistration* GetLiveRegistration(int64 registration_id); in NON_EXPORTED_BASE() 161 void RemoveLiveRegistration(int64 registration_id); in NON_EXPORTED_BASE() 164 void RemoveLiveVersion(int64 registration_id); in NON_EXPORTED_BASE()
|
/external/chromium_org/media/cdm/ |
D | player_tracker_impl.cc | 29 int registration_id = next_registration_id_++; in RegisterPlayer() local 30 DCHECK(!ContainsKey(player_callbacks_map_, registration_id)); in RegisterPlayer() 32 registration_id, PlayerCallbacks(new_key_cb, cdm_unset_cb))); in RegisterPlayer() 33 return registration_id; in RegisterPlayer() 36 void PlayerTrackerImpl::UnregisterPlayer(int registration_id) { in UnregisterPlayer() argument 38 DCHECK(ContainsKey(player_callbacks_map_, registration_id)) in UnregisterPlayer() 39 << registration_id; in UnregisterPlayer() 40 player_callbacks_map_.erase(registration_id); in UnregisterPlayer()
|
/external/chromium_org/google_apis/gcm/engine/ |
D | registration_info.cc | 18 if (sender_ids.empty() || registration_id.empty()) in SerializeAsString() 34 DCHECK(registration_id.find('=') == std::string::npos); in SerializeAsString() 36 value += registration_id; in SerializeAsString() 49 registration_id = value.substr(pos + 1); in ParseFromString() 53 if (sender_ids.empty() || registration_id.empty()) { in ParseFromString() 55 registration_id.clear(); in ParseFromString()
|
D | gcm_store_impl_unittest.cc | 223 registration1->registration_id = "registration1"; in TEST_F() 234 registration2->registration_id = "registration2"; in TEST_F() 249 EXPECT_EQ(registration1->registration_id, in TEST_F() 250 load_result->registrations["app1"]->registration_id); in TEST_F() 256 EXPECT_EQ(registration2->registration_id, in TEST_F() 257 load_result->registrations["app2"]->registration_id); in TEST_F() 277 EXPECT_EQ(registration1->registration_id, in TEST_F() 278 load_result->registrations["app1"]->registration_id); in TEST_F()
|
/external/chromium_org/components/gcm_driver/ |
D | fake_gcm_client.cc | 80 std::string registration_id = GetRegistrationIdFromSenderIds(sender_ids); in Register() local 86 registration_id)); in Register() 172 std::string registration_id; in GetRegistrationIdFromSenderIds() local 177 registration_id += ","; in GetRegistrationIdFromSenderIds() 178 registration_id += normalized_sender_ids[i]; in GetRegistrationIdFromSenderIds() 180 registration_id += base::IntToString(sequence_id_); in GetRegistrationIdFromSenderIds() 182 return registration_id; in GetRegistrationIdFromSenderIds()
|
D | gcm_driver_desktop_unittest.cc | 113 const std::string& registration_id() const { return registration_id_; } in registration_id() function in gcm::GCMDriverTest 148 void RegisterCompleted(const std::string& registration_id, 329 void GCMDriverTest::RegisterCompleted(const std::string& registration_id, in RegisterCompleted() argument 331 registration_id_ = registration_id; in RegisterCompleted() 552 EXPECT_TRUE(registration_id().empty()); in TEST_F() 561 EXPECT_TRUE(registration_id().empty()); in TEST_F() 570 EXPECT_TRUE(registration_id().empty()); in TEST_F() 645 EXPECT_TRUE(registration_id().empty()); in TEST_F() 651 EXPECT_FALSE(registration_id().empty()); in TEST_F() 714 EXPECT_EQ(expected_registration_id, registration_id()); in TEST_F() [all …]
|
D | gcm_client_impl_unittest.cc | 235 void CompleteRegistration(const std::string& registration_id); 241 const std::string& registration_id); 245 const std::string& registration_id, 252 virtual void OnMessageReceived(const std::string& registration_id, 424 const std::string& registration_id) { in CompleteRegistration() argument 426 response.append(registration_id); in CompleteRegistration() 454 const std::string& registration_id) { in AddRegistration() argument 457 registration->registration_id = registration_id; in AddRegistration() 503 const std::string& registration_id, in OnMessageReceived() argument 506 last_app_id_ = registration_id; in OnMessageReceived() [all …]
|
/external/chromium_org/chrome/browser/services/gcm/ |
D | gcm_profile_service_unittest.cc | 74 const std::string& registration_id, 83 std::string registration_id() const { return registration_id_; } in registration_id() function in gcm::GCMProfileServiceTest 197 const std::string& registration_id, in RegisterCompleted() argument 199 registration_id_ = registration_id; in RegisterCompleted() 259 EXPECT_EQ(expected_registration_id, registration_id()); in TEST_F()
|
D | push_messaging_service_impl.cc | 236 const std::string& registration_id, in RegisterEnd() argument 239 callback.Run(endpoint, registration_id, status); in RegisterEnd() 251 const std::string& registration_id, in DidRegister() argument 257 RegisterEnd(callback, registration_id, status); in DidRegister()
|
D | fake_gcm_profile_service.cc | 26 const std::string& registration_id, 90 const std::string& registration_id, in OnRegisterFinished() argument 92 RegisterFinished(app_id, registration_id, result); in OnRegisterFinished()
|
D | push_messaging_service_impl.h | 68 const std::string& registration_id, 73 const std::string& registration_id,
|
/external/chromium_org/components/invalidation/ |
D | gcm_network_channel.cc | 130 const std::string& registration_id, in OnRegisterComplete() argument 134 DCHECK(!registration_id.empty()); in OnRegisterComplete() 137 registration_id_ = registration_id; in OnRegisterComplete() 322 GURL GCMNetworkChannel::BuildUrl(const std::string& registration_id) { in BuildUrl() argument 323 DCHECK(!registration_id.empty()); in BuildUrl() 327 endpoint_id.set_c2dm_registration_id(registration_id); in BuildUrl()
|
D | gcm_invalidation_bridge.cc | 55 const std::string& registration_id, 139 const std::string& registration_id, in RegisterFinished() argument 142 callback.Run(registration_id, result); in RegisterFinished() 271 const std::string& registration_id, in RegisterFinished() argument 279 registration_id, in RegisterFinished()
|
D | gcm_network_channel.h | 84 virtual GURL BuildUrl(const std::string& registration_id); 89 void OnRegisterComplete(const std::string& registration_id,
|
/external/chromium_org/content/shell/renderer/test_runner/ |
D | mock_web_push_client.cc | 25 const std::string& end_point, const std::string& registration_id) { in SetMockSuccessValues() argument 27 registration_id_ = registration_id; in SetMockSuccessValues()
|
/external/chromium_org/content/renderer/ |
D | push_messaging_dispatcher.cc | 68 const std::string& registration_id) { in OnRegisterSuccess() argument 76 WebString::fromUTF8(registration_id))); in OnRegisterSuccess()
|
/external/chromium_org/chrome/browser/invalidation/ |
D | gcm_invalidation_bridge_unittest.cc | 83 void RegisterFinished(const std::string& registration_id, in RegisterFinished() argument 85 registration_id_ = registration_id; in RegisterFinished()
|