IndexedDBFactory now ForceCloses databases.
[chromium-blink-merge.git] / content / child / service_worker / web_service_worker_impl.h
blobde6010e212cbb5b8d5f8aefc92f3ae0f3fdba0db
1 // Copyright 2013 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.
5 #ifndef CONTENT_CHILD_SERVICE_WORKER_WEB_SERVICE_WORKER_IMPL_H_
6 #define CONTENT_CHILD_SERVICE_WORKER_WEB_SERVICE_WORKER_IMPL_H_
8 #include "base/compiler_specific.h"
9 #include "third_party/WebKit/public/platform/WebServiceWorker.h"
10 #include "third_party/WebKit/public/web/WebFrame.h"
12 namespace content {
14 class WebServiceWorkerImpl
15 : NON_EXPORTED_BASE(public blink::WebServiceWorker) {
16 public:
17 explicit WebServiceWorkerImpl(int64 registration_id)
18 : registration_id_(registration_id) {}
19 virtual ~WebServiceWorkerImpl();
21 private:
22 int64 registration_id_;
24 DISALLOW_COPY_AND_ASSIGN(WebServiceWorkerImpl);
27 } // namespace content
29 #endif // CONTENT_CHILD_SERVICE_WORKER_WEB_SERVICE_WORKER_IMPL_H_