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

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

Issue 1465183005: Rename mojo::TokenSerializer to mojo::Broker. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix win component Created 5 years 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_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 <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 // We create the channel first without connecting it so we can add filters 225 // We create the channel first without connecting it so we can add filters
226 // prior to any messages being received, then connect it afterwards. 226 // prior to any messages being received, then connect it afterwards.
227 void ConnectChannel(bool use_mojo_channel); 227 void ConnectChannel(bool use_mojo_channel);
228 228
229 // IPC message handlers. 229 // IPC message handlers.
230 void OnShutdown(); 230 void OnShutdown();
231 void OnSetProfilerStatus(tracked_objects::ThreadData::Status status); 231 void OnSetProfilerStatus(tracked_objects::ThreadData::Status status);
232 void OnGetChildProfilerData(int sequence_number, int current_profiling_phase); 232 void OnGetChildProfilerData(int sequence_number, int current_profiling_phase);
233 void OnProfilingPhaseCompleted(int profiling_phase); 233 void OnProfilingPhaseCompleted(int profiling_phase);
234 void OnBindExternalMojoShellHandle(const IPC::PlatformFileForTransit& file); 234 void OnBindExternalMojoShellHandle(const IPC::PlatformFileForTransit& file);
235 void OnSetMojoParentPipeHandle(const IPC::PlatformFileForTransit& file);
235 #ifdef IPC_MESSAGE_LOG_ENABLED 236 #ifdef IPC_MESSAGE_LOG_ENABLED
236 void OnSetIPCLoggingEnabled(bool enable); 237 void OnSetIPCLoggingEnabled(bool enable);
237 #endif 238 #endif
238 #if defined(OS_WIN)
239 void OnSetMojoParentPipeHandle(const IPC::PlatformFileForTransit& file);
240 #endif
241 239
242 void EnsureConnected(); 240 void EnsureConnected();
243 241
244 scoped_ptr<MojoApplication> mojo_application_; 242 scoped_ptr<MojoApplication> mojo_application_;
245 243
246 std::string channel_name_; 244 std::string channel_name_;
247 scoped_ptr<IPC::AttachmentBrokerUnprivileged> attachment_broker_; 245 scoped_ptr<IPC::AttachmentBrokerUnprivileged> attachment_broker_;
248 scoped_ptr<IPC::SyncChannel> channel_; 246 scoped_ptr<IPC::SyncChannel> channel_;
249 247
250 // Allows threads other than the main thread to send sync messages. 248 // Allows threads other than the main thread to send sync messages.
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
334 332
335 private: 333 private:
336 struct Options options_; 334 struct Options options_;
337 335
338 DISALLOW_COPY_AND_ASSIGN(Builder); 336 DISALLOW_COPY_AND_ASSIGN(Builder);
339 }; 337 };
340 338
341 } // namespace content 339 } // namespace content
342 340
343 #endif // CONTENT_CHILD_CHILD_THREAD_IMPL_H_ 341 #endif // CONTENT_CHILD_CHILD_THREAD_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698