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

Unified Diff: net/test/embedded_test_server/embedded_test_server.h

Issue 418043002: Add test for showing confirmation dialog for unsecure signin (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix isolate dependency Created 6 years, 3 months 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
« no previous file with comments | « google_apis/gaia/fake_gaia.cc ('k') | net/test/embedded_test_server/embedded_test_server.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/test/embedded_test_server/embedded_test_server.h
diff --git a/net/test/embedded_test_server/embedded_test_server.h b/net/test/embedded_test_server/embedded_test_server.h
index a490f25775d48cf3c82adef580c8d8ec86c67ca9..82303e51c21f1ea461f448386cde7f38167dc4b5 100644
--- a/net/test/embedded_test_server/embedded_test_server.h
+++ b/net/test/embedded_test_server/embedded_test_server.h
@@ -38,6 +38,11 @@ class HttpListenSocket : public TCPListenSocket {
virtual ~HttpListenSocket();
virtual void Listen();
+ // Listen on the current IO thread. If the IO thread has changed since this
+ // object is constructed, call |ListenOnIOThread| to make sure it listens on
+ // the right thread. Otherwise must call |Listen| instead.
+ void ListenOnIOThread();
+
private:
friend class EmbeddedTestServer;
« no previous file with comments | « google_apis/gaia/fake_gaia.cc ('k') | net/test/embedded_test_server/embedded_test_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698