| 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_PUBLIC_RENDERER_RENDER_THREAD_H_ | 5 #ifndef CONTENT_PUBLIC_RENDERER_RENDER_THREAD_H_ |
| 6 #define CONTENT_PUBLIC_RENDERER_RENDER_THREAD_H_ | 6 #define CONTENT_PUBLIC_RENDERER_RENDER_THREAD_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 namespace cc { | 25 namespace cc { |
| 26 class SharedBitmapManager; | 26 class SharedBitmapManager; |
| 27 } | 27 } |
| 28 | 28 |
| 29 namespace IPC { | 29 namespace IPC { |
| 30 class MessageFilter; | 30 class MessageFilter; |
| 31 class SyncChannel; | 31 class SyncChannel; |
| 32 class SyncMessageFilter; | 32 class SyncMessageFilter; |
| 33 } | 33 } |
| 34 | 34 |
| 35 namespace shell { | |
| 36 class InterfaceRegistry; | |
| 37 class InterfaceProvider; | |
| 38 } | |
| 39 | |
| 40 namespace v8 { | 35 namespace v8 { |
| 41 class Extension; | 36 class Extension; |
| 42 } | 37 } |
| 43 | 38 |
| 44 namespace content { | 39 namespace content { |
| 45 | 40 |
| 46 class RenderThreadObserver; | 41 class RenderThreadObserver; |
| 47 class ResourceDispatcherDelegate; | 42 class ResourceDispatcherDelegate; |
| 48 | 43 |
| 49 class CONTENT_EXPORT RenderThread : virtual public ChildThread { | 44 class CONTENT_EXPORT RenderThread : virtual public ChildThread { |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 // Post task to all worker threads. Returns number of workers. | 100 // Post task to all worker threads. Returns number of workers. |
| 106 virtual int PostTaskToAllWebWorkers(const base::Closure& closure) = 0; | 101 virtual int PostTaskToAllWebWorkers(const base::Closure& closure) = 0; |
| 107 | 102 |
| 108 // Resolve the proxy servers to use for a given url. On success true is | 103 // Resolve the proxy servers to use for a given url. On success true is |
| 109 // returned and |proxy_list| is set to a PAC string containing a list of | 104 // returned and |proxy_list| is set to a PAC string containing a list of |
| 110 // proxy servers. | 105 // proxy servers. |
| 111 virtual bool ResolveProxy(const GURL& url, std::string* proxy_list) = 0; | 106 virtual bool ResolveProxy(const GURL& url, std::string* proxy_list) = 0; |
| 112 | 107 |
| 113 // Gets the shutdown event for the process. | 108 // Gets the shutdown event for the process. |
| 114 virtual base::WaitableEvent* GetShutdownEvent() = 0; | 109 virtual base::WaitableEvent* GetShutdownEvent() = 0; |
| 115 | |
| 116 // Returns the InterfaceRegistry that this process uses to expose interfaces | |
| 117 // to the browser. | |
| 118 virtual shell::InterfaceRegistry* GetInterfaceRegistry() = 0; | |
| 119 | |
| 120 // Returns the InterfaceProvider that this process can use to bind | |
| 121 // interfaces exposed to it by the browser. | |
| 122 virtual shell::InterfaceProvider* GetRemoteInterfaces() = 0; | |
| 123 }; | 110 }; |
| 124 | 111 |
| 125 } // namespace content | 112 } // namespace content |
| 126 | 113 |
| 127 #endif // CONTENT_PUBLIC_RENDERER_RENDER_THREAD_H_ | 114 #endif // CONTENT_PUBLIC_RENDERER_RENDER_THREAD_H_ |
| OLD | NEW |