Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(67)

Unified Diff: chrome/browser/extensions/extension_web_socket_proxy_private_api.h

Issue 8688001: [cros] Make g_browser_process's call on the UI thread. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_;

Powered by Google App Engine
This is Rietveld 408576698