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

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

Issue 27157: Initial checkin of the out of process worker implementation.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 9 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "chrome/worker/worker_thread.h"
6
7 #include "chrome/common/worker_messages.h"
8 #include "chrome/worker/webworkerclient_proxy.h"
9 #include "chrome/worker/worker_process.h"
10
11 WorkerThread::WorkerThread()
12 : ChildThread(base::Thread::Options(MessageLoop::TYPE_DEFAULT, kV8StackSize) ) {
13 }
14
15 WorkerThread::~WorkerThread() {
16 }
17
18 void WorkerThread::OnControlMessageReceived(const IPC::Message& msg) {
19 IPC_BEGIN_MESSAGE_MAP(WorkerThread, msg)
20 IPC_MESSAGE_HANDLER(WorkerProcessMsg_CreateWorker, OnCreateWorker)
21 IPC_END_MESSAGE_MAP()
22 }
23
24 void WorkerThread::OnCreateWorker(const GURL& url, int route_id) {
25 WebWorkerClientProxy* worker = new WebWorkerClientProxy(url, route_id);
26 }
OLDNEW
« no previous file with comments | « chrome/worker/worker_thread.h ('k') | third_party/WebKit/WebCore/workers/WorkerMessagingProxy.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698