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

Side by Side Diff: content/browser/renderer_host/render_process_host_impl.h

Issue 2019973002: [mojo-edk] Bind a child token to child launches and port reservations. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 6 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) 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_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after
368 void SendDisableEventLogToRenderer(); 368 void SendDisableEventLogToRenderer();
369 base::FilePath GetAecDumpFilePathWithExtensions(const base::FilePath& file); 369 base::FilePath GetAecDumpFilePathWithExtensions(const base::FilePath& file);
370 base::FilePath GetEventLogFilePathWithExtensions(const base::FilePath& file); 370 base::FilePath GetEventLogFilePathWithExtensions(const base::FilePath& file);
371 #endif 371 #endif
372 372
373 // IPC::Senders which live as long as this RPH and provide safe, opaque 373 // IPC::Senders which live as long as this RPH and provide safe, opaque
374 // access to ChannelProxy SendNow() and SendOnIOThread() respectively. 374 // access to ChannelProxy SendNow() and SendOnIOThread() respectively.
375 const std::unique_ptr<SafeSenderProxy> immediate_sender_; 375 const std::unique_ptr<SafeSenderProxy> immediate_sender_;
376 const std::unique_ptr<SafeSenderProxy> io_thread_sender_; 376 const std::unique_ptr<SafeSenderProxy> io_thread_sender_;
377 377
378 std::string child_token_;
378 std::unique_ptr<MojoChildConnection> mojo_child_connection_; 379 std::unique_ptr<MojoChildConnection> mojo_child_connection_;
379 std::unique_ptr<MojoApplicationHost> mojo_application_host_; 380 std::unique_ptr<MojoApplicationHost> mojo_application_host_;
380 381
381 // The registered IPC listener objects. When this list is empty, we should 382 // The registered IPC listener objects. When this list is empty, we should
382 // delete ourselves. 383 // delete ourselves.
383 IDMap<IPC::Listener> listeners_; 384 IDMap<IPC::Listener> listeners_;
384 385
385 // The count of currently visible widgets. Since the host can be a container 386 // The count of currently visible widgets. Since the host can be a container
386 // for multiple widgets, it uses this count to determine when it should be 387 // for multiple widgets, it uses this count to determine when it should be
387 // backgrounded. 388 // backgrounded.
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
527 mojo::ScopedMessagePipeHandle in_process_renderer_handle_; 528 mojo::ScopedMessagePipeHandle in_process_renderer_handle_;
528 529
529 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; 530 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_;
530 531
531 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); 532 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl);
532 }; 533 };
533 534
534 } // namespace content 535 } // namespace content
535 536
536 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ 537 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/ppapi_plugin_process_host.cc ('k') | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698