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 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
258 | 258 |
259 int render_view_id_; | 259 int render_view_id_; |
260 | 260 |
261 // Throttling time in milliseconds for PpapiHostMsg_Keepalive IPCs. | 261 // Throttling time in milliseconds for PpapiHostMsg_Keepalive IPCs. |
262 static unsigned keepalive_throttle_interval_milliseconds_; | 262 static unsigned keepalive_throttle_interval_milliseconds_; |
263 | 263 |
264 // Shared memory provided to the plugin and renderer for | 264 // Shared memory provided to the plugin and renderer for |
265 // reporting crash information. | 265 // reporting crash information. |
266 base::SharedMemory crash_info_shmem_; | 266 base::SharedMemory crash_info_shmem_; |
267 | 267 |
| 268 // Randomly generated token identifying the child process to Mojo. |
| 269 std::string mojo_child_token_; |
| 270 |
268 base::WeakPtrFactory<NaClProcessHost> weak_factory_; | 271 base::WeakPtrFactory<NaClProcessHost> weak_factory_; |
269 | 272 |
270 DISALLOW_COPY_AND_ASSIGN(NaClProcessHost); | 273 DISALLOW_COPY_AND_ASSIGN(NaClProcessHost); |
271 }; | 274 }; |
272 | 275 |
273 } // namespace nacl | 276 } // namespace nacl |
274 | 277 |
275 #endif // COMPONENTS_NACL_BROWSER_NACL_PROCESS_HOST_H_ | 278 #endif // COMPONENTS_NACL_BROWSER_NACL_PROCESS_HOST_H_ |
OLD | NEW |