Index: chrome/browser/extensions/extension_web_socket_proxy_private_api.h |
diff --git a/chrome/browser/extensions/extension_web_socket_proxy_private_api.h b/chrome/browser/extensions/extension_web_socket_proxy_private_api.h |
index aa7a50ac9c12287bf53e475404f009253c9272e7..c104d45be22c8df731158b5b906558e263a74f3e 100644 |
--- a/chrome/browser/extensions/extension_web_socket_proxy_private_api.h |
+++ b/chrome/browser/extensions/extension_web_socket_proxy_private_api.h |
@@ -12,6 +12,8 @@ |
#include "content/public/browser/notification_registrar.h" |
#include "net/base/address_list.h" |
+class IOThread; |
+ |
namespace net { |
class SingleRequestHostResolver; |
} |
@@ -56,8 +58,10 @@ class WebSocketProxyPrivate |
// Callback for DNS resolution. |
void OnHostResolution(int result); |
- // Executes on IO thread. Performs DNS resolution. |
+ // Posts task to the IO thread, which will make dns resolution. |
void ResolveHost(); |
+ // Executes on IO thread. Performs DNS resolution. |
+ void ResolveHostIOPart(IOThread* io_thread); |
// Used to signal timeout (when waiting for proxy initial launch). |
base::OneShotTimer<WebSocketProxyPrivate> timer_; |