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

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

Issue 2074453003: Move ScopedIPCSupport to mojo/edk/embedder and the mojo::edk namespace. (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
« no previous file with comments | « content/child/BUILD.gn ('k') | content/child/child_thread_impl.cc » ('j') | no next file with comments »
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 13 matching lines...) Expand all
24 #include "ipc/ipc_message.h" // For IPC_MESSAGE_LOG_ENABLED. 24 #include "ipc/ipc_message.h" // For IPC_MESSAGE_LOG_ENABLED.
25 #include "ipc/ipc_platform_file.h" 25 #include "ipc/ipc_platform_file.h"
26 #include "ipc/message_router.h" 26 #include "ipc/message_router.h"
27 27
28 namespace base { 28 namespace base {
29 class MessageLoop; 29 class MessageLoop;
30 } // namespace base 30 } // namespace base
31 31
32 namespace IPC { 32 namespace IPC {
33 class MessageFilter; 33 class MessageFilter;
34 class ScopedIPCSupport;
35 class SyncChannel; 34 class SyncChannel;
36 class SyncMessageFilter; 35 class SyncMessageFilter;
37 } // namespace IPC 36 } // namespace IPC
38 37
38 namespace mojo {
39 namespace edk {
40 class ScopedIPCSupport;
41 } // namespace edk
42 } // namespace mojo
43
39 namespace blink { 44 namespace blink {
40 class WebFrame; 45 class WebFrame;
41 } // namespace blink 46 } // namespace blink
42 47
43 namespace content { 48 namespace content {
44 class ChildMessageFilter; 49 class ChildMessageFilter;
45 class ChildDiscardableSharedMemoryManager; 50 class ChildDiscardableSharedMemoryManager;
46 class ChildGpuMemoryBufferManager; 51 class ChildGpuMemoryBufferManager;
47 class ChildHistogramMessageFilter; 52 class ChildHistogramMessageFilter;
48 class ChildResourceMessageFilter; 53 class ChildResourceMessageFilter;
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 void OnShutdown(); 241 void OnShutdown();
237 void OnSetProfilerStatus(tracked_objects::ThreadData::Status status); 242 void OnSetProfilerStatus(tracked_objects::ThreadData::Status status);
238 void OnGetChildProfilerData(int sequence_number, int current_profiling_phase); 243 void OnGetChildProfilerData(int sequence_number, int current_profiling_phase);
239 void OnProfilingPhaseCompleted(int profiling_phase); 244 void OnProfilingPhaseCompleted(int profiling_phase);
240 #ifdef IPC_MESSAGE_LOG_ENABLED 245 #ifdef IPC_MESSAGE_LOG_ENABLED
241 void OnSetIPCLoggingEnabled(bool enable); 246 void OnSetIPCLoggingEnabled(bool enable);
242 #endif 247 #endif
243 248
244 void EnsureConnected(); 249 void EnsureConnected();
245 250
246 std::unique_ptr<IPC::ScopedIPCSupport> mojo_ipc_support_; 251 std::unique_ptr<mojo::edk::ScopedIPCSupport> mojo_ipc_support_;
247 std::unique_ptr<MojoApplication> mojo_application_; 252 std::unique_ptr<MojoApplication> mojo_application_;
248 253
249 std::string channel_name_; 254 std::string channel_name_;
250 std::unique_ptr<IPC::SyncChannel> channel_; 255 std::unique_ptr<IPC::SyncChannel> channel_;
251 256
252 // Allows threads other than the main thread to send sync messages. 257 // Allows threads other than the main thread to send sync messages.
253 scoped_refptr<IPC::SyncMessageFilter> sync_message_filter_; 258 scoped_refptr<IPC::SyncMessageFilter> sync_message_filter_;
254 259
255 scoped_refptr<ThreadSafeSender> thread_safe_sender_; 260 scoped_refptr<ThreadSafeSender> thread_safe_sender_;
256 261
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
333 338
334 private: 339 private:
335 struct Options options_; 340 struct Options options_;
336 341
337 DISALLOW_COPY_AND_ASSIGN(Builder); 342 DISALLOW_COPY_AND_ASSIGN(Builder);
338 }; 343 };
339 344
340 } // namespace content 345 } // namespace content
341 346
342 #endif // CONTENT_CHILD_CHILD_THREAD_IMPL_H_ 347 #endif // CONTENT_CHILD_CHILD_THREAD_IMPL_H_
OLDNEW
« no previous file with comments | « content/child/BUILD.gn ('k') | content/child/child_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698