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

Side by Side Diff: content/browser/utility_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_UTILITY_PROCESS_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_UTILITY_PROCESS_HOST_IMPL_H_
6 #define CONTENT_BROWSER_UTILITY_PROCESS_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_UTILITY_PROCESS_HOST_IMPL_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 // process in the task manager. 112 // process in the task manager.
113 base::string16 name_; 113 base::string16 name_;
114 114
115 std::unique_ptr<BrowserChildProcessHostImpl> process_; 115 std::unique_ptr<BrowserChildProcessHostImpl> process_;
116 116
117 // Used in single-process mode instead of process_. 117 // Used in single-process mode instead of process_.
118 std::unique_ptr<base::Thread> in_process_thread_; 118 std::unique_ptr<base::Thread> in_process_thread_;
119 119
120 // Browser-side Mojo endpoint which sets up a Mojo channel with the child 120 // Browser-side Mojo endpoint which sets up a Mojo channel with the child
121 // process and contains the browser's ServiceRegistry. 121 // process and contains the browser's ServiceRegistry.
122 const std::string child_token_;
122 std::unique_ptr<MojoApplicationHost> mojo_application_host_; 123 std::unique_ptr<MojoApplicationHost> mojo_application_host_;
123 124
124 // Used to vend weak pointers, and should always be declared last. 125 // Used to vend weak pointers, and should always be declared last.
125 base::WeakPtrFactory<UtilityProcessHostImpl> weak_ptr_factory_; 126 base::WeakPtrFactory<UtilityProcessHostImpl> weak_ptr_factory_;
126 127
127 DISALLOW_COPY_AND_ASSIGN(UtilityProcessHostImpl); 128 DISALLOW_COPY_AND_ASSIGN(UtilityProcessHostImpl);
128 }; 129 };
129 130
130 } // namespace content 131 } // namespace content
131 132
132 #endif // CONTENT_BROWSER_UTILITY_PROCESS_HOST_IMPL_H_ 133 #endif // CONTENT_BROWSER_UTILITY_PROCESS_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_process_host_impl.cc ('k') | content/browser/utility_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698