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 COMPONENTS_NACL_BROWSER_NACL_PROCESS_HOST_H_ | 5 #ifndef COMPONENTS_NACL_BROWSER_NACL_PROCESS_HOST_H_ |
6 #define COMPONENTS_NACL_BROWSER_NACL_PROCESS_HOST_H_ | 6 #define COMPONENTS_NACL_BROWSER_NACL_PROCESS_HOST_H_ |
7 | 7 |
8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
9 | 9 |
10 #include <stddef.h> | 10 #include <stddef.h> |
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
250 | 250 |
251 int render_view_id_; | 251 int render_view_id_; |
252 | 252 |
253 // Throttling time in milliseconds for PpapiHostMsg_Keepalive IPCs. | 253 // Throttling time in milliseconds for PpapiHostMsg_Keepalive IPCs. |
254 static unsigned keepalive_throttle_interval_milliseconds_; | 254 static unsigned keepalive_throttle_interval_milliseconds_; |
255 | 255 |
256 // Shared memory provided to the plugin and renderer for | 256 // Shared memory provided to the plugin and renderer for |
257 // reporting crash information. | 257 // reporting crash information. |
258 base::SharedMemory crash_info_shmem_; | 258 base::SharedMemory crash_info_shmem_; |
259 | 259 |
260 // Randomly generated token identifying the child process to Mojo. | |
261 std::string mojo_child_token_; | |
262 | |
263 base::WeakPtrFactory<NaClProcessHost> weak_factory_; | 260 base::WeakPtrFactory<NaClProcessHost> weak_factory_; |
264 | 261 |
265 DISALLOW_COPY_AND_ASSIGN(NaClProcessHost); | 262 DISALLOW_COPY_AND_ASSIGN(NaClProcessHost); |
266 }; | 263 }; |
267 | 264 |
268 } // namespace nacl | 265 } // namespace nacl |
269 | 266 |
270 #endif // COMPONENTS_NACL_BROWSER_NACL_PROCESS_HOST_H_ | 267 #endif // COMPONENTS_NACL_BROWSER_NACL_PROCESS_HOST_H_ |
OLD | NEW |