Index: Source/platform/exported/WebServiceWorkerRegistrationProxy.cpp |
diff --git a/Source/platform/exported/WebServiceWorkerRegistrationProxy.cpp b/Source/platform/exported/WebServiceWorkerRegistrationProxy.cpp |
new file mode 100644 |
index 0000000000000000000000000000000000000000..01643153457a756b200ac44a518903a1f4c0f1e2 |
--- /dev/null |
+++ b/Source/platform/exported/WebServiceWorkerRegistrationProxy.cpp |
@@ -0,0 +1,20 @@ |
+// 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 "config.h" |
+#include "public/platform/WebServiceWorkerRegistrationProxy.h" |
+ |
+namespace blink { |
+ |
+WebServiceWorkerRegistrationProxy::WebServiceWorkerRegistrationProxy(ServiceWorkerRegistration* registration) |
+ : m_private(registration) |
+{ |
+} |
+ |
+WebServiceWorkerRegistrationProxy::operator ServiceWorkerRegistration*() const |
+{ |
+ return m_private; |
+} |
+ |
+} // namespace blink |