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 <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
11 #include <list> | 11 #include <list> |
12 | 12 |
13 #include "base/id_map.h" | 13 #include "base/id_map.h" |
14 #include "base/memory/ptr_util.h" | 14 #include "base/memory/ptr_util.h" |
15 #include "base/process/kill.h" | 15 #include "base/process/kill.h" |
16 #include "base/process/process_handle.h" | 16 #include "base/process/process_handle.h" |
17 #include "base/supports_user_data.h" | 17 #include "base/supports_user_data.h" |
18 #include "content/common/content_export.h" | 18 #include "content/common/content_export.h" |
19 #include "ipc/ipc_channel_proxy.h" | 19 #include "ipc/ipc_channel_proxy.h" |
20 #include "ipc/ipc_sender.h" | 20 #include "ipc/ipc_sender.h" |
21 #include "services/shell/public/cpp/interface_registry.h" | |
22 #include "ui/gfx/native_widget_types.h" | 21 #include "ui/gfx/native_widget_types.h" |
23 | 22 |
24 class GURL; | 23 class GURL; |
25 | 24 |
26 namespace base { | 25 namespace base { |
27 class SharedPersistentMemoryAllocator; | 26 class SharedPersistentMemoryAllocator; |
28 class TimeDelta; | 27 class TimeDelta; |
29 } | 28 } |
30 | 29 |
31 namespace media { | 30 namespace media { |
(...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
365 static void SetMaxRendererProcessCount(size_t count); | 364 static void SetMaxRendererProcessCount(size_t count); |
366 | 365 |
367 // Returns the current maximum number of renderer process hosts kept by the | 366 // Returns the current maximum number of renderer process hosts kept by the |
368 // content module. | 367 // content module. |
369 static size_t GetMaxRendererProcessCount(); | 368 static size_t GetMaxRendererProcessCount(); |
370 }; | 369 }; |
371 | 370 |
372 } // namespace content. | 371 } // namespace content. |
373 | 372 |
374 #endif // CONTENT_PUBLIC_BROWSER_RENDER_PROCESS_HOST_H_ | 373 #endif // CONTENT_PUBLIC_BROWSER_RENDER_PROCESS_HOST_H_ |
OLD | NEW |