From 1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Tue, 27 Jun 2017 06:07:23 +0000 Subject: webkitgtk-2.16.5 --- Tools/TestWebKitAPI/gtk/WebKit2Gtk/WebKitTestServer.h | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'Tools/TestWebKitAPI/gtk/WebKit2Gtk/WebKitTestServer.h') diff --git a/Tools/TestWebKitAPI/gtk/WebKit2Gtk/WebKitTestServer.h b/Tools/TestWebKitAPI/gtk/WebKit2Gtk/WebKitTestServer.h index 502f7fad0..58f019fab 100644 --- a/Tools/TestWebKitAPI/gtk/WebKit2Gtk/WebKitTestServer.h +++ b/Tools/TestWebKitAPI/gtk/WebKit2Gtk/WebKitTestServer.h @@ -22,18 +22,20 @@ #include #include -#include +#include +#include #include class WebKitTestServer { public: - enum ServerType { - ServerHTTP, - ServerHTTPS + enum ServerOptions { + ServerHTTP = 0, + ServerHTTPS = 1 << 1, + ServerRunInThread = 1 << 2, }; - WebKitTestServer(ServerType = ServerHTTP); + WebKitTestServer(ServerOptions = ServerHTTP); virtual ~WebKitTestServer(); SoupURI* baseURI() { return m_baseURI; } @@ -44,6 +46,7 @@ public: private: GRefPtr m_soupServer; SoupURI* m_baseURI; + RefPtr m_queue; }; #endif // WebKitTestServer_h -- cgit v1.2.1