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

Side by Side Diff: chrome/worker/webworkerclient_proxy.cc

Issue 155905: Separates ipc code from common (http://crbug.com/16829) (Closed)
Patch Set: Fixes reference to 'common_message_traits' it's actually 'common_param_traits' Created 11 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
« no previous file with comments | « chrome/worker/webworkerclient_proxy.h ('k') | ipc/file_descriptor_set_posix.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 "chrome/worker/webworkerclient_proxy.h" 5 #include "chrome/worker/webworkerclient_proxy.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "chrome/common/child_process.h" 8 #include "chrome/common/child_process.h"
9 #include "chrome/common/chrome_switches.h" 9 #include "chrome/common/chrome_switches.h"
10 #include "chrome/common/ipc_logging.h"
11 #include "chrome/common/worker_messages.h" 10 #include "chrome/common/worker_messages.h"
12 #include "chrome/renderer/webworker_proxy.h" 11 #include "chrome/renderer/webworker_proxy.h"
13 #include "chrome/worker/worker_thread.h" 12 #include "chrome/worker/worker_thread.h"
14 #include "chrome/worker/nativewebworker_impl.h" 13 #include "chrome/worker/nativewebworker_impl.h"
14 #include "ipc/ipc_logging.h"
15 #include "webkit/api/public/WebString.h" 15 #include "webkit/api/public/WebString.h"
16 #include "webkit/api/public/WebURL.h" 16 #include "webkit/api/public/WebURL.h"
17 #include "webkit/api/public/WebWorker.h" 17 #include "webkit/api/public/WebWorker.h"
18 18
19 using WebKit::WebString; 19 using WebKit::WebString;
20 using WebKit::WebWorker; 20 using WebKit::WebWorker;
21 using WebKit::WebWorkerClient; 21 using WebKit::WebWorkerClient;
22 22
23 namespace { 23 namespace {
24 24
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 switches::kWebWorkerShareProcesses)) { 159 switches::kWebWorkerShareProcesses)) {
160 // Can't kill the process since there could be workers from other 160 // Can't kill the process since there could be workers from other
161 // renderer process. 161 // renderer process.
162 NOTIMPLEMENTED(); 162 NOTIMPLEMENTED();
163 return; 163 return;
164 } 164 }
165 165
166 MessageLoop::current()->PostDelayedTask(FROM_HERE, 166 MessageLoop::current()->PostDelayedTask(FROM_HERE,
167 new KillProcessTask(this), kMaxTimeForRunawayWorkerMs); 167 new KillProcessTask(this), kMaxTimeForRunawayWorkerMs);
168 } 168 }
OLDNEW
« no previous file with comments | « chrome/worker/webworkerclient_proxy.h ('k') | ipc/file_descriptor_set_posix.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698