OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CONTENT_CHILD_SERVICE_WORKER_WEB_SERVICE_WORKER_REGISTRATION_IMPL_H_ |
| 6 #define CONTENT_CHILD_SERVICE_WORKER_WEB_SERVICE_WORKER_REGISTRATION_IMPL_H_ |
| 7 |
| 8 #include "base/compiler_specific.h" |
| 9 #include "third_party/WebKit/public/platform/WebServiceWorkerRegistration.h" |
| 10 |
| 11 namespace content { |
| 12 |
| 13 struct ServiceWorkerObjectInfo; |
| 14 |
| 15 class WebServiceWorkerRegistrationImpl |
| 16 : NON_EXPORTED_BASE(public blink::WebServiceWorkerRegistration) { |
| 17 public: |
| 18 explicit WebServiceWorkerRegistrationImpl( |
| 19 const ServiceWorkerObjectInfo& info); |
| 20 virtual ~WebServiceWorkerRegistrationImpl(); |
| 21 |
| 22 virtual blink::WebURL scope() const; |
| 23 |
| 24 private: |
| 25 const GURL scope_; |
| 26 |
| 27 DISALLOW_COPY_AND_ASSIGN(WebServiceWorkerRegistrationImpl); |
| 28 }; |
| 29 |
| 30 } // namespace content |
| 31 |
| 32 #endif // CONTENT_CHILD_SERVICE_WORKER_WEB_SERVICE_WORKER_REGISTRATION_IMPL_H_ |
OLD | NEW |