| 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 505 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 | |
| 529 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; | 526 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; |
| 530 | 527 |
| 531 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); | 528 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); |
| 532 }; | 529 }; |
| 533 | 530 |
| 534 } // namespace content | 531 } // namespace content |
| 535 | 532 |
| 536 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ | 533 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ |
| OLD | NEW |