OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "content/child/service_worker/web_service_worker_registration_impl.h" | 5 #include "content/child/service_worker/web_service_worker_registration_impl.h" |
6 | 6 |
7 #include "content/child/service_worker/service_worker_dispatcher.h" | 7 #include "content/child/service_worker/service_worker_dispatcher.h" |
8 #include "content/child/service_worker/service_worker_registration_handle_refere
nce.h" | 8 #include "content/child/service_worker/service_worker_registration_handle_refere
nce.h" |
9 #include "content/child/service_worker/web_service_worker_impl.h" | 9 #include "content/child/service_worker/web_service_worker_impl.h" |
10 #include "content/common/service_worker/service_worker_types.h" | 10 #include "content/common/service_worker/service_worker_types.h" |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 | 105 |
106 blink::WebServiceWorkerRegistrationProxy* | 106 blink::WebServiceWorkerRegistrationProxy* |
107 WebServiceWorkerRegistrationImpl::proxy() { | 107 WebServiceWorkerRegistrationImpl::proxy() { |
108 return proxy_; | 108 return proxy_; |
109 } | 109 } |
110 | 110 |
111 blink::WebURL WebServiceWorkerRegistrationImpl::scope() const { | 111 blink::WebURL WebServiceWorkerRegistrationImpl::scope() const { |
112 return handle_ref_->scope(); | 112 return handle_ref_->scope(); |
113 } | 113 } |
114 | 114 |
| 115 int64 WebServiceWorkerRegistrationImpl::registration_id() const { |
| 116 return handle_ref_->registration_id(); |
| 117 } |
| 118 |
115 } // namespace content | 119 } // namespace content |
OLD | NEW |