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

Side by Side Diff: content/child/child_thread_impl.h

Issue 1673803002: Child thread attachment broker should never be destroyed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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
« no previous file with comments | « no previous file | content/child/child_thread_impl.cc » ('j') | content/child/child_thread_impl.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_CHILD_CHILD_THREAD_IMPL_H_ 5 #ifndef CONTENT_CHILD_CHILD_THREAD_IMPL_H_
6 #define CONTENT_CHILD_CHILD_THREAD_IMPL_H_ 6 #define CONTENT_CHILD_CHILD_THREAD_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 #ifdef IPC_MESSAGE_LOG_ENABLED 233 #ifdef IPC_MESSAGE_LOG_ENABLED
234 void OnSetIPCLoggingEnabled(bool enable); 234 void OnSetIPCLoggingEnabled(bool enable);
235 #endif 235 #endif
236 236
237 void EnsureConnected(); 237 void EnsureConnected();
238 238
239 scoped_ptr<IPC::ScopedIPCSupport> mojo_ipc_support_; 239 scoped_ptr<IPC::ScopedIPCSupport> mojo_ipc_support_;
240 scoped_ptr<MojoApplication> mojo_application_; 240 scoped_ptr<MojoApplication> mojo_application_;
241 241
242 std::string channel_name_; 242 std::string channel_name_;
243 scoped_ptr<IPC::AttachmentBrokerUnprivileged> attachment_broker_; 243 IPC::AttachmentBrokerUnprivileged* attachment_broker_ = nullptr;
244 scoped_ptr<IPC::SyncChannel> channel_; 244 scoped_ptr<IPC::SyncChannel> channel_;
245 245
246 // Allows threads other than the main thread to send sync messages. 246 // Allows threads other than the main thread to send sync messages.
247 scoped_refptr<IPC::SyncMessageFilter> sync_message_filter_; 247 scoped_refptr<IPC::SyncMessageFilter> sync_message_filter_;
248 248
249 scoped_refptr<ThreadSafeSender> thread_safe_sender_; 249 scoped_refptr<ThreadSafeSender> thread_safe_sender_;
250 250
251 // Implements message routing functionality to the consumers of 251 // Implements message routing functionality to the consumers of
252 // ChildThreadImpl. 252 // ChildThreadImpl.
253 ChildThreadMessageRouter router_; 253 ChildThreadMessageRouter router_;
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
326 326
327 private: 327 private:
328 struct Options options_; 328 struct Options options_;
329 329
330 DISALLOW_COPY_AND_ASSIGN(Builder); 330 DISALLOW_COPY_AND_ASSIGN(Builder);
331 }; 331 };
332 332
333 } // namespace content 333 } // namespace content
334 334
335 #endif // CONTENT_CHILD_CHILD_THREAD_IMPL_H_ 335 #endif // CONTENT_CHILD_CHILD_THREAD_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/child/child_thread_impl.cc » ('j') | content/child/child_thread_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698