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

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

Issue 415963002: ServiceWorker: Implement ServiceWorkerRegistration [2/3] (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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') | content/content_child.gypi » ('j') | 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
new file mode 100644
index 0000000000000000000000000000000000000000..66ddb707e80047f77ea62e415bf2dac95becfc9a
--- /dev/null
+++ b/content/child/service_worker/web_service_worker_registration_impl.cc
@@ -0,0 +1,23 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "content/child/service_worker/web_service_worker_registration_impl.h"
+
+#include "content/common/service_worker/service_worker_types.h"
+
+namespace content {
+
+WebServiceWorkerRegistrationImpl::WebServiceWorkerRegistrationImpl(
+ const ServiceWorkerObjectInfo& info)
+ : scope_(info.scope) {
+}
+
+WebServiceWorkerRegistrationImpl::~WebServiceWorkerRegistrationImpl() {
+}
+
+blink::WebURL WebServiceWorkerRegistrationImpl::scope() const {
+ return scope_;
+}
+
+} // namespace content
« no previous file with comments | « content/child/service_worker/web_service_worker_registration_impl.h ('k') | content/content_child.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698