| 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_RENDERER_RENDER_THREAD_IMPL_H_ |    5 #ifndef CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 
|    6 #define CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |    6 #define CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 
|    7  |    7  | 
|    8 #include <stddef.h> |    8 #include <stddef.h> | 
|    9 #include <stdint.h> |    9 #include <stdint.h> | 
|   10  |   10  | 
| (...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  167       std::unique_ptr<blink::scheduler::RendererScheduler> renderer_scheduler); |  167       std::unique_ptr<blink::scheduler::RendererScheduler> renderer_scheduler); | 
|  168   static RenderThreadImpl* current(); |  168   static RenderThreadImpl* current(); | 
|  169   static mojom::RenderMessageFilter* current_render_message_filter(); |  169   static mojom::RenderMessageFilter* current_render_message_filter(); | 
|  170   static const scoped_refptr<mojom::ThreadSafeRenderMessageFilterAssociatedPtr>& |  170   static const scoped_refptr<mojom::ThreadSafeRenderMessageFilterAssociatedPtr>& | 
|  171   current_thread_safe_render_message_filter(); |  171   current_thread_safe_render_message_filter(); | 
|  172  |  172  | 
|  173   static void SetRenderMessageFilterForTesting( |  173   static void SetRenderMessageFilterForTesting( | 
|  174       mojom::RenderMessageFilter* render_message_filter); |  174       mojom::RenderMessageFilter* render_message_filter); | 
|  175  |  175  | 
|  176   ~RenderThreadImpl() override; |  176   ~RenderThreadImpl() override; | 
|  177   void Shutdown() override; |  177   bool IsRenderThread() override; | 
|  178  |  178  | 
|  179   // When initializing WebKit, ensure that any schemes needed for the content |  179   // When initializing WebKit, ensure that any schemes needed for the content | 
|  180   // module are registered properly.  Static to allow sharing with tests. |  180   // module are registered properly.  Static to allow sharing with tests. | 
|  181   static void RegisterSchemes(); |  181   static void RegisterSchemes(); | 
|  182  |  182  | 
|  183   // RenderThread implementation: |  183   // RenderThread implementation: | 
|  184   bool Send(IPC::Message* msg) override; |  184   bool Send(IPC::Message* msg) override; | 
|  185   IPC::SyncChannel* GetChannel() override; |  185   IPC::SyncChannel* GetChannel() override; | 
|  186   std::string GetLocale() override; |  186   std::string GetLocale() override; | 
|  187   IPC::SyncMessageFilter* GetSyncMessageFilter() override; |  187   IPC::SyncMessageFilter* GetSyncMessageFilter() override; | 
| (...skipping 571 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  759   DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |  759   DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 
|  760 }; |  760 }; | 
|  761  |  761  | 
|  762 #if defined(COMPILER_MSVC) |  762 #if defined(COMPILER_MSVC) | 
|  763 #pragma warning(pop) |  763 #pragma warning(pop) | 
|  764 #endif |  764 #endif | 
|  765  |  765  | 
|  766 }  // namespace content |  766 }  // namespace content | 
|  767  |  767  | 
|  768 #endif  // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |  768 #endif  // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 
| OLD | NEW |