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

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

Issue 54573002: Initial child-process side plumbing for starting an embedded ServiceWorker context (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updated 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_EMBEDDED_WORKER_DISPATCHER_H_
6 #define CONTENT_CHILD_SERVICE_WORKER_EMBEDDED_WORKER_DISPATCHER_H_
7
8 #include "base/compiler_specific.h"
9 #include "ipc/ipc_listener.h"
10
11 class GURL;
12
13 namespace content {
14
15 // A tiny dispatcher which only handles CreateWorker message.
16 class EmbeddedWorkerDispatcher : public IPC::Listener {
17 public:
18 EmbeddedWorkerDispatcher();
19 virtual ~EmbeddedWorkerDispatcher();
20
21 // IPC::Listener overrides.
22 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
23
24 private:
25 void OnCreateWorker(const GURL& script_url, int route_id);
michaeln 2013/11/04 22:04:51 I think for serviceworkers we'll need other params
kinuko 2013/11/05 01:01:51 Sure, I had several more parameters for this but d
26
27 DISALLOW_COPY_AND_ASSIGN(EmbeddedWorkerDispatcher);
28 };
29
30 } // namespace content
31
32 #endif // CONTENT_CHILD_SERVICE_WORKER_EMBEDDED_WORKER_DISPATCHER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698