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

Side by Side Diff: chrome/browser/worker_host/worker_process_host.h

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
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 #ifndef CHROME_BROWSER_WORKER_HOST_WORKER_PROCESS_HOST_H_ 5 #ifndef CHROME_BROWSER_WORKER_HOST_WORKER_PROCESS_HOST_H_
6 #define CHROME_BROWSER_WORKER_HOST_WORKER_PROCESS_HOST_H_ 6 #define CHROME_BROWSER_WORKER_HOST_WORKER_PROCESS_HOST_H_
7 7
8 #include <list> 8 #include <list>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "chrome/common/child_process_host.h" 11 #include "chrome/common/child_process_host.h"
12 #include "chrome/common/ipc_channel.h"
13 #include "googleurl/src/gurl.h" 12 #include "googleurl/src/gurl.h"
13 #include "ipc/ipc_channel.h"
14 14
15 class WorkerProcessHost : public ChildProcessHost { 15 class WorkerProcessHost : public ChildProcessHost {
16 public: 16 public:
17 // Contains information about each worker instance, needed to forward messages 17 // Contains information about each worker instance, needed to forward messages
18 // between the renderer and worker processes. 18 // between the renderer and worker processes.
19 struct WorkerInstance { 19 struct WorkerInstance {
20 GURL url; 20 GURL url;
21 int renderer_process_id; 21 int renderer_process_id;
22 int render_view_route_id; 22 int render_view_route_id;
23 int worker_route_id; 23 int worker_route_id;
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 int* route_id); 66 int* route_id);
67 void OnCancelCreateDedicatedWorker(int route_id); 67 void OnCancelCreateDedicatedWorker(int route_id);
68 void OnForwardToWorker(const IPC::Message& message); 68 void OnForwardToWorker(const IPC::Message& message);
69 69
70 Instances instances_; 70 Instances instances_;
71 71
72 DISALLOW_COPY_AND_ASSIGN(WorkerProcessHost); 72 DISALLOW_COPY_AND_ASSIGN(WorkerProcessHost);
73 }; 73 };
74 74
75 #endif // CHROME_BROWSER_WORKER_HOST_WORKER_PROCESS_HOST_H_ 75 #endif // CHROME_BROWSER_WORKER_HOST_WORKER_PROCESS_HOST_H_
OLDNEW
« no previous file with comments | « chrome/browser/views/about_ipc_dialog.cc ('k') | chrome/browser/worker_host/worker_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698