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

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

Issue 2768403002: Revert of Add enable_ipc_logging build argument (Closed)
Patch Set: Created 3 years, 9 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_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
11 #include <memory> 11 #include <memory>
12 #include <string> 12 #include <string>
13 13
14 #include "base/macros.h" 14 #include "base/macros.h"
15 #include "base/memory/shared_memory.h" 15 #include "base/memory/shared_memory.h"
16 #include "base/memory/weak_ptr.h" 16 #include "base/memory/weak_ptr.h"
17 #include "base/power_monitor/power_monitor.h" 17 #include "base/power_monitor/power_monitor.h"
18 #include "base/single_thread_task_runner.h" 18 #include "base/single_thread_task_runner.h"
19 #include "base/tracked_objects.h" 19 #include "base/tracked_objects.h"
20 #include "build/build_config.h" 20 #include "build/build_config.h"
21 #include "content/common/associated_interfaces.mojom.h" 21 #include "content/common/associated_interfaces.mojom.h"
22 #include "content/common/content_export.h" 22 #include "content/common/content_export.h"
23 #include "content/public/child/child_thread.h" 23 #include "content/public/child/child_thread.h"
24 #include "ipc/ipc.mojom.h" 24 #include "ipc/ipc.mojom.h"
25 #include "ipc/ipc_features.h" // For BUILDFLAG(IPC_MESSAGE_LOG_ENABLED). 25 #include "ipc/ipc_message.h" // For IPC_MESSAGE_LOG_ENABLED.
26 #include "ipc/ipc_platform_file.h" 26 #include "ipc/ipc_platform_file.h"
27 #include "ipc/message_router.h" 27 #include "ipc/message_router.h"
28 #include "mojo/public/cpp/bindings/associated_binding.h" 28 #include "mojo/public/cpp/bindings/associated_binding.h"
29 #include "mojo/public/cpp/bindings/associated_binding_set.h" 29 #include "mojo/public/cpp/bindings/associated_binding_set.h"
30 #include "services/service_manager/public/cpp/service_info.h" 30 #include "services/service_manager/public/cpp/service_info.h"
31 31
32 namespace base { 32 namespace base {
33 class MessageLoop; 33 class MessageLoop;
34 } // namespace base 34 } // namespace base
35 35
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 221
222 // We create the channel first without connecting it so we can add filters 222 // We create the channel first without connecting it so we can add filters
223 // prior to any messages being received, then connect it afterwards. 223 // prior to any messages being received, then connect it afterwards.
224 void ConnectChannel(); 224 void ConnectChannel();
225 225
226 // IPC message handlers. 226 // IPC message handlers.
227 void OnShutdown(); 227 void OnShutdown();
228 void OnSetProfilerStatus(tracked_objects::ThreadData::Status status); 228 void OnSetProfilerStatus(tracked_objects::ThreadData::Status status);
229 void OnGetChildProfilerData(int sequence_number, int current_profiling_phase); 229 void OnGetChildProfilerData(int sequence_number, int current_profiling_phase);
230 void OnProfilingPhaseCompleted(int profiling_phase); 230 void OnProfilingPhaseCompleted(int profiling_phase);
231 #if BUILDFLAG(IPC_MESSAGE_LOG_ENABLED) 231 #ifdef IPC_MESSAGE_LOG_ENABLED
232 void OnSetIPCLoggingEnabled(bool enable); 232 void OnSetIPCLoggingEnabled(bool enable);
233 #endif 233 #endif
234 234
235 void EnsureConnected(); 235 void EnsureConnected();
236 236
237 // mojom::RouteProvider: 237 // mojom::RouteProvider:
238 void GetRoute( 238 void GetRoute(
239 int32_t routing_id, 239 int32_t routing_id,
240 mojom::AssociatedInterfaceProviderAssociatedRequest request) override; 240 mojom::AssociatedInterfaceProviderAssociatedRequest request) override;
241 241
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
339 339
340 private: 340 private:
341 struct Options options_; 341 struct Options options_;
342 342
343 DISALLOW_COPY_AND_ASSIGN(Builder); 343 DISALLOW_COPY_AND_ASSIGN(Builder);
344 }; 344 };
345 345
346 } // namespace content 346 } // namespace content
347 347
348 #endif // CONTENT_CHILD_CHILD_THREAD_IMPL_H_ 348 #endif // CONTENT_CHILD_CHILD_THREAD_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_process_host_impl.cc ('k') | content/child/child_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698