// Copyright 2013 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_TEST_CHROMEDRIVER_NET_TEST_HTTP_SERVER_H_ #define CHROME_TEST_CHROMEDRIVER_NET_TEST_HTTP_SERVER_H_ #include <set> #include "base/synchronization/lock.h" #include "base/synchronization/waitable_event.h" #include "base/threading/thread.h" #include "net/server/http_server.h" #include "url/gurl.h" namespace base { class WaitableEvent; } // HTTP server for web socket testing purposes that runs on its own thread. // All public methods are thread safe and may be called on any thread, unless // noted otherwise. class TestHttpServer : public net::HttpServer::Delegate { … }; #endif // CHROME_TEST_CHROMEDRIVER_NET_TEST_HTTP_SERVER_H_