OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CONTENT_PUBLIC_BROWSER_RENDER_PROCESS_HOST_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_RENDER_PROCESS_HOST_H_ |
6 #define CONTENT_PUBLIC_BROWSER_RENDER_PROCESS_HOST_H_ | 6 #define CONTENT_PUBLIC_BROWSER_RENDER_PROCESS_HOST_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/id_map.h" | 9 #include "base/id_map.h" |
10 #include "base/process.h" | 10 #include "base/process.h" |
11 #include "base/process_util.h" | 11 #include "base/process_util.h" |
12 #include "content/common/content_export.h" | 12 #include "content/common/content_export.h" |
13 #include "ipc/ipc_channel_proxy.h" | 13 #include "ipc/ipc_channel_proxy.h" |
14 #include "ipc/ipc_message.h" | 14 #include "ipc/ipc_message.h" |
15 #include "ui/gfx/native_widget_types.h" | 15 #include "ui/gfx/native_widget_types.h" |
16 #include "ui/gfx/surface/transport_dib.h" | 16 #include "ui/surface/transport_dib.h" |
17 | 17 |
18 class GURL; | 18 class GURL; |
19 struct ViewMsg_SwapOut_Params; | 19 struct ViewMsg_SwapOut_Params; |
20 | 20 |
21 namespace content { | 21 namespace content { |
22 class BrowserContext; | 22 class BrowserContext; |
23 class RenderWidgetHost; | 23 class RenderWidgetHost; |
24 } | 24 } |
25 | 25 |
26 namespace base { | 26 namespace base { |
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
234 static void SetMaxRendererProcessCount(size_t count); | 234 static void SetMaxRendererProcessCount(size_t count); |
235 | 235 |
236 // Returns the current max number of renderer processes used by the content | 236 // Returns the current max number of renderer processes used by the content |
237 // module. | 237 // module. |
238 static size_t GetMaxRendererProcessCount(); | 238 static size_t GetMaxRendererProcessCount(); |
239 }; | 239 }; |
240 | 240 |
241 } // namespace content. | 241 } // namespace content. |
242 | 242 |
243 #endif // CONTENT_PUBLIC_BROWSER_RENDER_PROCESS_HOST_H_ | 243 #endif // CONTENT_PUBLIC_BROWSER_RENDER_PROCESS_HOST_H_ |
OLD | NEW |