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

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

Issue 2222373002: Revert of Eliminate kMojoChannelToken usage for render processes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 505 matching lines...) Expand 10 before | Expand all | Expand 10 after
516 516
517 #if defined(OS_ANDROID) 517 #if defined(OS_ANDROID)
518 // UI thread is the source of sync IPCs and all shutdown signals. 518 // UI thread is the source of sync IPCs and all shutdown signals.
519 // Therefore a proper shutdown event to unblock the UI thread is not 519 // Therefore a proper shutdown event to unblock the UI thread is not
520 // possible without massive refactoring shutdown code. 520 // possible without massive refactoring shutdown code.
521 // Luckily Android never performs a clean shutdown. So explicitly 521 // Luckily Android never performs a clean shutdown. So explicitly
522 // ignore this problem. 522 // ignore this problem.
523 base::WaitableEvent never_signaled_; 523 base::WaitableEvent never_signaled_;
524 #endif 524 #endif
525 525
526 std::string mojo_channel_token_;
527 mojo::ScopedMessagePipeHandle in_process_renderer_handle_;
528
526 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; 529 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_;
527 530
528 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); 531 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl);
529 }; 532 };
530 533
531 } // namespace content 534 } // namespace content
532 535
533 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ 536 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/mojo/mojo_shell_context.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