| 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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 // Post task to all worker threads. Returns number of workers. | 96 // Post task to all worker threads. Returns number of workers. |
| 97 virtual int PostTaskToAllWebWorkers(const base::Closure& closure) = 0; | 97 virtual int PostTaskToAllWebWorkers(const base::Closure& closure) = 0; |
| 98 | 98 |
| 99 // Resolve the proxy servers to use for a given url. On success true is | 99 // Resolve the proxy servers to use for a given url. On success true is |
| 100 // returned and |proxy_list| is set to a PAC string containing a list of | 100 // returned and |proxy_list| is set to a PAC string containing a list of |
| 101 // proxy servers. | 101 // proxy servers. |
| 102 virtual bool ResolveProxy(const GURL& url, std::string* proxy_list) = 0; | 102 virtual bool ResolveProxy(const GURL& url, std::string* proxy_list) = 0; |
| 103 | 103 |
| 104 // Gets the shutdown event for the process. | 104 // Gets the shutdown event for the process. |
| 105 virtual base::WaitableEvent* GetShutdownEvent() = 0; | 105 virtual base::WaitableEvent* GetShutdownEvent() = 0; |
| 106 |
| 107 // Retrieve the process ID of the browser process. |
| 108 virtual int32_t GetClientId() = 0; |
| 106 }; | 109 }; |
| 107 | 110 |
| 108 } // namespace content | 111 } // namespace content |
| 109 | 112 |
| 110 #endif // CONTENT_PUBLIC_RENDERER_RENDER_THREAD_H_ | 113 #endif // CONTENT_PUBLIC_RENDERER_RENDER_THREAD_H_ |
| OLD | NEW |