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

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

Issue 127583002: Separate EmbeddedWorker messages into another file to use different msg class (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: build fix Created 6 years, 11 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
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 #include "content/renderer/service_worker/embedded_worker_dispatcher.h" 5 #include "content/renderer/service_worker/embedded_worker_dispatcher.h"
6 6
7 #include "base/memory/scoped_ptr.h" 7 #include "base/memory/scoped_ptr.h"
8 #include "base/strings/string16.h" 8 #include "base/strings/string16.h"
9 #include "base/strings/utf_string_conversions.h" 9 #include "base/strings/utf_string_conversions.h"
10 #include "content/child/child_process.h" 10 #include "content/child/child_process.h"
11 #include "content/child/scoped_child_process_reference.h" 11 #include "content/child/scoped_child_process_reference.h"
12 #include "content/child/thread_safe_sender.h" 12 #include "content/child/thread_safe_sender.h"
13 #include "content/common/service_worker_messages.h" 13 #include "content/common/service_worker/embedded_worker_messages.h"
14 #include "content/renderer/render_thread_impl.h" 14 #include "content/renderer/render_thread_impl.h"
15 #include "content/renderer/service_worker/embedded_worker_context_client.h" 15 #include "content/renderer/service_worker/embedded_worker_context_client.h"
16 #include "third_party/WebKit/public/platform/WebString.h" 16 #include "third_party/WebKit/public/platform/WebString.h"
17 #include "third_party/WebKit/public/platform/WebURL.h" 17 #include "third_party/WebKit/public/platform/WebURL.h"
18 #include "third_party/WebKit/public/web/WebEmbeddedWorker.h" 18 #include "third_party/WebKit/public/web/WebEmbeddedWorker.h"
19 #include "third_party/WebKit/public/web/WebEmbeddedWorkerStartData.h" 19 #include "third_party/WebKit/public/web/WebEmbeddedWorkerStartData.h"
20 #include "webkit/child/worker_task_runner.h" 20 #include "webkit/child/worker_task_runner.h"
21 #include "webkit/common/user_agent/user_agent.h" 21 #include "webkit/common/user_agent/user_agent.h"
22 22
23 namespace content { 23 namespace content {
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 return; 87 return;
88 } 88 }
89 89
90 // This should eventually call WorkerContextDestroyed. (We may need to post 90 // This should eventually call WorkerContextDestroyed. (We may need to post
91 // a delayed task to forcibly abort the worker context if we find it 91 // a delayed task to forcibly abort the worker context if we find it
92 // necessary) 92 // necessary)
93 wrapper->worker()->terminateWorkerContext(); 93 wrapper->worker()->terminateWorkerContext();
94 } 94 }
95 95
96 } // namespace content 96 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/service_worker/embedded_worker_context_client.cc ('k') | ipc/ipc_message_start.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698