OLD | NEW |
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 501 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
512 | 512 |
513 #if defined(OS_ANDROID) | 513 #if defined(OS_ANDROID) |
514 // UI thread is the source of sync IPCs and all shutdown signals. | 514 // UI thread is the source of sync IPCs and all shutdown signals. |
515 // Therefore a proper shutdown event to unblock the UI thread is not | 515 // Therefore a proper shutdown event to unblock the UI thread is not |
516 // possible without massive refactoring shutdown code. | 516 // possible without massive refactoring shutdown code. |
517 // Luckily Android never performs a clean shutdown. So explicitly | 517 // Luckily Android never performs a clean shutdown. So explicitly |
518 // ignore this problem. | 518 // ignore this problem. |
519 base::WaitableEvent never_signaled_; | 519 base::WaitableEvent never_signaled_; |
520 #endif | 520 #endif |
521 | 521 |
522 std::string mojo_channel_token_; | |
523 mojo::ScopedMessagePipeHandle in_process_renderer_handle_; | 522 mojo::ScopedMessagePipeHandle in_process_renderer_handle_; |
524 | 523 |
525 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; | 524 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; |
526 | 525 |
527 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); | 526 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); |
528 }; | 527 }; |
529 | 528 |
530 } // namespace content | 529 } // namespace content |
531 | 530 |
532 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ | 531 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ |
OLD | NEW |