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

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

Issue 515493002: ServiceWorker: Clean up WebServiceWorkerRegistrationImpl (Closed) Base URL: http://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/child/service_worker/web_service_worker_registration_impl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/service_worker/web_service_worker_registration_impl.cc
diff --git a/content/child/service_worker/web_service_worker_registration_impl.cc b/content/child/service_worker/web_service_worker_registration_impl.cc
index 8bb7ed114172773b9220e962ba03e7492f591ece..ce6875312fff735172e7ae1b99e1ca2b4e2a78a8 100644
--- a/content/child/service_worker/web_service_worker_registration_impl.cc
+++ b/content/child/service_worker/web_service_worker_registration_impl.cc
@@ -31,39 +31,39 @@ WebServiceWorkerRegistrationImpl::~WebServiceWorkerRegistrationImpl() {
dispatcher->RemoveServiceWorkerRegistration(handle_ref_->handle_id());
}
-void WebServiceWorkerRegistrationImpl::OnUpdateFound() {
- DCHECK(proxy_);
- proxy_->dispatchUpdateFoundEvent();
-}
-
-void WebServiceWorkerRegistrationImpl::setProxy(
- blink::WebServiceWorkerRegistrationProxy* proxy) {
- proxy_ = proxy;
-}
-
-blink::WebServiceWorkerRegistrationProxy*
-WebServiceWorkerRegistrationImpl::proxy() {
- return proxy_;
-}
-
-void WebServiceWorkerRegistrationImpl::setInstalling(
+void WebServiceWorkerRegistrationImpl::SetInstalling(
blink::WebServiceWorker* service_worker) {
DCHECK(proxy_);
proxy_->setInstalling(service_worker);
}
-void WebServiceWorkerRegistrationImpl::setWaiting(
+void WebServiceWorkerRegistrationImpl::SetWaiting(
blink::WebServiceWorker* service_worker) {
DCHECK(proxy_);
proxy_->setWaiting(service_worker);
}
-void WebServiceWorkerRegistrationImpl::setActive(
+void WebServiceWorkerRegistrationImpl::SetActive(
blink::WebServiceWorker* service_worker) {
DCHECK(proxy_);
proxy_->setActive(service_worker);
}
+void WebServiceWorkerRegistrationImpl::OnUpdateFound() {
+ DCHECK(proxy_);
+ proxy_->dispatchUpdateFoundEvent();
+}
+
+void WebServiceWorkerRegistrationImpl::setProxy(
+ blink::WebServiceWorkerRegistrationProxy* proxy) {
+ proxy_ = proxy;
+}
+
+blink::WebServiceWorkerRegistrationProxy*
+WebServiceWorkerRegistrationImpl::proxy() {
+ return proxy_;
+}
+
blink::WebURL WebServiceWorkerRegistrationImpl::scope() const {
return handle_ref_->scope();
}
« no previous file with comments | « content/child/service_worker/web_service_worker_registration_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698