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

Side by Side Diff: content/child/service_worker/web_service_worker_impl.h

Issue 25008006: Flush out initial [un]registerServiceWorker roundtrip (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use int64 for workers, remove policy check Created 7 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
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.
4
5 #ifndef CONTENT_CHILD_SERVICE_WORKER_WEB_SERVICE_WORKER_IMPL_H_
6 #define CONTENT_CHILD_SERVICE_WORKER_WEB_SERVICE_WORKER_IMPL_H_
7
8 #include "base/compiler_specific.h"
9 #include "third_party/WebKit/public/platform/WebServiceWorker.h"
10 #include "third_party/WebKit/public/web/WebFrame.h"
11
12 namespace content {
13
14 class WebServiceWorkerImpl
15 : NON_EXPORTED_BASE(public WebKit::WebServiceWorker) {
16 public:
17 WebServiceWorkerImpl(int64 service_worker_id, bool registered)
michaeln 2013/10/24 21:57:39 since registered is always 'true', can we remove t
alecflett 2013/10/24 22:41:22 Done.
18 : service_worker_id_(service_worker_id), registered_(registered) {}
19 virtual ~WebServiceWorkerImpl();
20
21 private:
22 int64 service_worker_id_ ALLOW_UNUSED;
23 bool registered_ ALLOW_UNUSED;
24
25 DISALLOW_COPY_AND_ASSIGN(WebServiceWorkerImpl);
26 };
27
28 } // namespace content
29
30 #endif // CONTENT_CHILD_SERVICE_WORKER_WEB_SERVICE_WORKER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698