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

Side by Side Diff: content/browser/renderer_host/render_process_host_impl.h

Issue 1461283002: [DO NOT COMMIT] mojo datapipe performance measurement 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_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 namespace IPC { 44 namespace IPC {
45 class ChannelMojoHost; 45 class ChannelMojoHost;
46 } 46 }
47 47
48 namespace content { 48 namespace content {
49 class AudioInputRendererHost; 49 class AudioInputRendererHost;
50 class AudioRendererHost; 50 class AudioRendererHost;
51 class BrowserCdmManager; 51 class BrowserCdmManager;
52 class BrowserDemuxerAndroid; 52 class BrowserDemuxerAndroid;
53 class InProcessChildThreadParams; 53 class InProcessChildThreadParams;
54 class LoaderTestServiceContext;
54 class MessagePortMessageFilter; 55 class MessagePortMessageFilter;
55 class MojoApplicationHost; 56 class MojoApplicationHost;
56 class MojoChildConnection; 57 class MojoChildConnection;
57 class NotificationMessageFilter; 58 class NotificationMessageFilter;
58 #if defined(ENABLE_WEBRTC) 59 #if defined(ENABLE_WEBRTC)
59 class P2PSocketDispatcherHost; 60 class P2PSocketDispatcherHost;
60 #endif 61 #endif
61 class PermissionServiceContext; 62 class PermissionServiceContext;
62 class PeerConnectionTrackerHost; 63 class PeerConnectionTrackerHost;
63 class RendererMainThread; 64 class RendererMainThread;
(...skipping 438 matching lines...) Expand 10 before | Expand all | Expand 10 after
502 base::TimeTicks survive_for_worker_start_time_; 503 base::TimeTicks survive_for_worker_start_time_;
503 504
504 // Records the maximum # of workers simultaneously hosted in this process 505 // Records the maximum # of workers simultaneously hosted in this process
505 // for UMA. 506 // for UMA.
506 int max_worker_count_; 507 int max_worker_count_;
507 508
508 // Context shared for each mojom::PermissionService instance created for this 509 // Context shared for each mojom::PermissionService instance created for this
509 // RPH. 510 // RPH.
510 std::unique_ptr<PermissionServiceContext> permission_service_context_; 511 std::unique_ptr<PermissionServiceContext> permission_service_context_;
511 512
513 scoped_ptr<LoaderTestServiceContext> loader_test_service_context_;
514
512 // The memory allocator, if any, in which the renderer will write its metrics. 515 // The memory allocator, if any, in which the renderer will write its metrics.
513 std::unique_ptr<base::SharedPersistentMemoryAllocator> metrics_allocator_; 516 std::unique_ptr<base::SharedPersistentMemoryAllocator> metrics_allocator_;
514 517
515 bool channel_connected_; 518 bool channel_connected_;
516 bool sent_render_process_ready_; 519 bool sent_render_process_ready_;
517 520
518 #if defined(OS_ANDROID) 521 #if defined(OS_ANDROID)
519 // UI thread is the source of sync IPCs and all shutdown signals. 522 // UI thread is the source of sync IPCs and all shutdown signals.
520 // Therefore a proper shutdown event to unblock the UI thread is not 523 // Therefore a proper shutdown event to unblock the UI thread is not
521 // possible without massive refactoring shutdown code. 524 // possible without massive refactoring shutdown code.
522 // Luckily Android never performs a clean shutdown. So explicitly 525 // Luckily Android never performs a clean shutdown. So explicitly
523 // ignore this problem. 526 // ignore this problem.
524 base::WaitableEvent never_signaled_; 527 base::WaitableEvent never_signaled_;
525 #endif 528 #endif
526 529
527 std::string mojo_channel_token_; 530 std::string mojo_channel_token_;
528 mojo::ScopedMessagePipeHandle in_process_renderer_handle_; 531 mojo::ScopedMessagePipeHandle in_process_renderer_handle_;
529 532
530 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; 533 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_;
531 534
532 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); 535 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl);
533 }; 536 };
534 537
535 } // namespace content 538 } // namespace content
536 539
537 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ 540 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/loader/loader_test_service_impl.cc ('k') | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698