Searched defs:registration_id (Results 1 - 25 of 38) sorted by relevance

12

/external/chromium_org/google_apis/gcm/engine/
H A Dregistration_info.h26 std::string registration_id; member in struct:gcm::RegistrationInfo
H A Dregistration_request_unittest.cc65 const std::string& registration_id);
99 const std::string& registration_id) {
101 registration_id_ = registration_id;
97 RegistrationCallback( RegistrationRequest::Status status, const std::string& registration_id) argument
/external/chromium_org/content/shell/renderer/test_runner/
H A Dmock_web_push_client.cc25 const std::string& end_point, const std::string& registration_id) {
27 registration_id_ = registration_id;
24 SetMockSuccessValues( const std::string& end_point, const std::string& registration_id) argument
/external/chromium_org/media/cdm/
H A Dplayer_tracker_impl.cc29 int registration_id = next_registration_id_++; local
30 DCHECK(!ContainsKey(player_callbacks_map_, registration_id));
32 registration_id, PlayerCallbacks(new_key_cb, cdm_unset_cb)));
33 return registration_id;
36 void PlayerTrackerImpl::UnregisterPlayer(int registration_id) { argument
38 DCHECK(ContainsKey(player_callbacks_map_, registration_id))
39 << registration_id;
40 player_callbacks_map_.erase(registration_id);
/external/chromium_org/content/browser/service_worker/
H A Dservice_worker_info.cc46 int64 registration_id,
51 registration_id(registration_id),
44 ServiceWorkerRegistrationInfo( const GURL& pattern, int64 registration_id, const ServiceWorkerVersionInfo& active_version, const ServiceWorkerVersionInfo& waiting_version, const ServiceWorkerVersionInfo& installing_version) argument
H A Dservice_worker_info.h43 int64 registration_id,
50 int64 registration_id; member in class:content::ServiceWorkerRegistrationInfo
H A Dservice_worker_context_unittest.cc30 int64 registration_id,
34 *store_registration_id = registration_id;
141 int64 registration_id = kInvalidServiceWorkerRegistrationId; local
148 MakeRegisteredCallback(&called, &registration_id, &version_id));
163 EXPECT_NE(kInvalidServiceWorkerRegistrationId, registration_id);
167 registration_id,
183 int64 registration_id = kInvalidServiceWorkerRegistrationId; local
190 MakeRegisteredCallback(&called, &registration_id, &version_id));
205 EXPECT_NE(kInvalidServiceWorkerRegistrationId, registration_id);
209 registration_id,
26 SaveResponseCallback(bool* called, int64* store_registration_id, int64* store_version_id, ServiceWorkerStatusCode status, int64 registration_id, int64 version_id) argument
225 int64 registration_id = kInvalidServiceWorkerRegistrationId; local
266 int64 registration_id = kInvalidServiceWorkerRegistrationId; local
377 int64 registration_id = kInvalidServiceWorkerRegistrationId; local
[all...]
H A Dservice_worker_database.h54 int64 registration_id; member in struct:content::ServiceWorkerDatabase::RegistrationData
106 // Reads a registration for |registration_id| and resource records associated
110 int64 registration_id,
129 // Updates a registration for |registration_id| to an active state. Returns OK
132 int64 registration_id,
135 // Updates last check time of a registration for |registration_id| by |time|.
138 int64 registration_id,
142 // Deletes a registration for |registration_id| and moves resource records
148 Status DeleteRegistration(int64 registration_id,
219 // Reads registration data for |registration_id| fro
[all...]
H A Dservice_worker_context_wrapper.cc81 int64 registration_id,
78 FinishRegistrationOnIO( const ServiceWorkerContext::ResultCallback& continuation, ServiceWorkerStatusCode status, int64 registration_id, int64 version_id) argument
H A Dservice_worker_registration.cc27 int64 registration_id,
30 registration_id_(registration_id),
25 ServiceWorkerRegistration( const GURL& pattern, int64 registration_id, base::WeakPtr<ServiceWorkerContextCore> context) argument
H A Dservice_worker_storage.h73 // Finds registration for |document_url| or |pattern| or |registration_id|.
79 // for |document_url| or |registration_id| may complete immediately
86 void FindRegistrationForId(int64 registration_id,
113 // Deletes the registration data for |registration_id|. If the registration's
116 void DeleteRegistration(int64 registration_id,
191 int64 registration_id; member in struct:content::ServiceWorkerStorage::DidDeleteRegistrationParams
286 int64 registration_id);
317 int64 registration_id,
339 int64 registration_id,
/external/chromium_org/content/renderer/
H A Dpush_messaging_dispatcher.cc68 const std::string& registration_id) {
76 WebString::fromUTF8(registration_id)));
65 OnRegisterSuccess( int32 callbacks_id, const GURL& endpoint, const std::string& registration_id) argument
/external/chromium_org/chrome/browser/invalidation/
H A Dgcm_invalidation_bridge_unittest.cc83 void RegisterFinished(const std::string& registration_id, argument
85 registration_id_ = registration_id;
/external/chromium_org/chrome/browser/services/gcm/
H A Dfake_gcm_profile_service.cc26 const std::string& registration_id,
90 const std::string& registration_id,
92 RegisterFinished(app_id, registration_id, result);
88 OnRegisterFinished( const std::string& app_id, const std::string& registration_id, GCMClient::Result result) argument
H A Dgcm_profile_service_unittest.cc74 const std::string& registration_id,
83 std::string registration_id() const { return registration_id_; } function in class:gcm::GCMProfileServiceTest
197 const std::string& registration_id,
199 registration_id_ = registration_id;
259 EXPECT_EQ(expected_registration_id, registration_id());
195 RegisterCompleted( const base::Closure& callback, const std::string& registration_id, GCMClient::Result result) argument
H A Dpush_messaging_service_impl.cc236 const std::string& registration_id,
239 callback.Run(endpoint, registration_id, status);
251 const std::string& registration_id,
257 RegisterEnd(callback, registration_id, status);
234 RegisterEnd( const content::PushMessagingService::RegisterCallback& callback, const std::string& registration_id, content::PushMessagingStatus status) argument
249 DidRegister( const content::PushMessagingService::RegisterCallback& callback, const std::string& registration_id, GCMClient::Result result) argument
/external/chromium_org/components/gcm_driver/
H A Dgcm_driver.cc110 const std::string& registration_id,
121 callback.Run(registration_id, result);
109 RegisterFinished(const std::string& app_id, const std::string& registration_id, GCMClient::Result result) argument
H A Dfake_gcm_client.cc80 std::string registration_id = GetRegistrationIdFromSenderIds(sender_ids); local
86 registration_id));
169 // Simulate the registration_id by concaternating all sender IDs.
170 // Set registration_id to empty to denote an error if sender_ids contains a
172 std::string registration_id; local
177 registration_id += ",";
178 registration_id += normalized_sender_ids[i];
180 registration_id += base::IntToString(sequence_id_);
182 return registration_id;
H A Dgcm_account_mapper.cc300 void GCMAccountMapper::OnRegisterFinished(const std::string& registration_id, argument
303 registration_id_ = registration_id;
H A Dgcm_driver_android.cc41 std::string registration_id = ConvertJavaStringToUTF8(env, j_registration_id); local
45 RegisterFinished(app_id, registration_id, result);
/external/chromium_org/chrome/browser/extensions/api/gcm/
H A Dgcm_api.cc127 const std::string& registration_id,
129 SetResult(new base::StringValue(registration_id));
126 CompleteFunctionWithResult( const std::string& registration_id, gcm::GCMClient::Result result) argument
/external/chromium_org/components/invalidation/
H A Dgcm_invalidation_bridge.cc55 const std::string& registration_id,
139 const std::string& registration_id,
142 callback.Run(registration_id, result);
271 const std::string& registration_id,
279 registration_id,
137 RegisterFinished( RegisterCallback callback, const std::string& registration_id, gcm::GCMClient::Result result) argument
269 RegisterFinished( syncer::GCMNetworkChannelDelegate::RegisterCallback callback, const std::string& registration_id, gcm::GCMClient::Result result) argument
H A Dgcm_network_channel_unittest.cc89 virtual GURL BuildUrl(const std::string& registration_id) OVERRIDE {
155 GURL BuildUrl(const std::string& registration_id) { argument
156 return gcm_network_channel_->GCMNetworkChannel::BuildUrl(registration_id);
H A Dgcm_network_channel.cc130 const std::string& registration_id,
134 DCHECK(!registration_id.empty());
135 DVLOG(2) << "Got registration_id";
137 registration_id_ = registration_id;
322 GURL GCMNetworkChannel::BuildUrl(const std::string& registration_id) { argument
323 DCHECK(!registration_id.empty());
327 endpoint_id.set_c2dm_registration_id(registration_id);
129 OnRegisterComplete( const std::string& registration_id, gcm::GCMClient::Result result) argument
/external/chromium_org/chrome/browser/extensions/
H A Dextension_gcm_app_handler_unittest.cc365 void RegisterCompleted(const std::string& registration_id, argument

Completed in 789 milliseconds

12