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

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

Issue 377873002: ServiceWorker: Clean up Service Worker codebase in renderer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 months 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
« no previous file with comments | « content/renderer/service_worker/embedded_worker_context_message_filter.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_CHILD_SERVICE_WORKER_EMBEDDED_WORKER_DISPATCHER_H_ 5 #ifndef CONTENT_RENDERER_SERVICE_WORKER_EMBEDDED_WORKER_DISPATCHER_H_
6 #define CONTENT_CHILD_SERVICE_WORKER_EMBEDDED_WORKER_DISPATCHER_H_ 6 #define CONTENT_RENDERER_SERVICE_WORKER_EMBEDDED_WORKER_DISPATCHER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/id_map.h" 9 #include "base/id_map.h"
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
11 #include "ipc/ipc_listener.h" 11 #include "ipc/ipc_listener.h"
12 12
13 struct EmbeddedWorkerMsg_StartWorker_Params; 13 struct EmbeddedWorkerMsg_StartWorker_Params;
14 class GURL; 14 class GURL;
15 15
16 namespace WebKit { 16 namespace WebKit {
(...skipping 21 matching lines...) Expand all
38 void OnResumeAfterDownload(int embedded_worker_id); 38 void OnResumeAfterDownload(int embedded_worker_id);
39 39
40 IDMap<WorkerWrapper, IDMapOwnPointer> workers_; 40 IDMap<WorkerWrapper, IDMapOwnPointer> workers_;
41 base::WeakPtrFactory<EmbeddedWorkerDispatcher> weak_factory_; 41 base::WeakPtrFactory<EmbeddedWorkerDispatcher> weak_factory_;
42 42
43 DISALLOW_COPY_AND_ASSIGN(EmbeddedWorkerDispatcher); 43 DISALLOW_COPY_AND_ASSIGN(EmbeddedWorkerDispatcher);
44 }; 44 };
45 45
46 } // namespace content 46 } // namespace content
47 47
48 #endif // CONTENT_CHILD_SERVICE_WORKER_EMBEDDED_WORKER_DISPATCHER_H_ 48 #endif // CONTENT_RENDERER_SERVICE_WORKER_EMBEDDED_WORKER_DISPATCHER_H_
OLDNEW
« no previous file with comments | « content/renderer/service_worker/embedded_worker_context_message_filter.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698