| Index: trunk/src/content/browser/worker_host/worker_process_host.cc
|
| ===================================================================
|
| --- trunk/src/content/browser/worker_host/worker_process_host.cc (revision 201089)
|
| +++ trunk/src/content/browser/worker_host/worker_process_host.cc (working copy)
|
| @@ -114,8 +114,7 @@
|
| ResourceContext* resource_context,
|
| const WorkerStoragePartition& partition)
|
| : resource_context_(resource_context),
|
| - partition_(partition),
|
| - process_launched_(false) {
|
| + partition_(partition) {
|
| DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
|
| DCHECK(resource_context_);
|
| process_.reset(
|
| @@ -319,9 +318,6 @@
|
| }
|
|
|
| void WorkerProcessHost::OnProcessLaunched() {
|
| - process_launched_ = true;
|
| -
|
| - WorkerServiceImpl::GetInstance()->NotifyWorkerProcessCreated();
|
| }
|
|
|
| bool WorkerProcessHost::OnMessageReceived(const IPC::Message& message) {
|
| @@ -542,18 +538,10 @@
|
| Send(new WorkerMsg_TerminateWorkerContext(worker_route_id));
|
| }
|
|
|
| -void WorkerProcessHost::SetBackgrounded(bool backgrounded) {
|
| - process_->SetBackgrounded(backgrounded);
|
| -}
|
| -
|
| const ChildProcessData& WorkerProcessHost::GetData() {
|
| return process_->GetData();
|
| }
|
|
|
| -bool WorkerProcessHost::process_launched() const {
|
| - return process_launched_;
|
| -}
|
| -
|
| std::vector<std::pair<int, int> > WorkerProcessHost::GetRenderViewIDsForWorker(
|
| int worker_route_id) {
|
| std::vector<std::pair<int, int> > result;
|
|
|