| 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 1232388a6ca62c8532f811a2ec7753fcb96dc9b8..00a6eb09a42d8b0f570a7f032c4b64814cdcaa6e 100644
|
| --- a/net/test/embedded_test_server/embedded_test_server.h
|
| +++ b/net/test/embedded_test_server/embedded_test_server.h
|
| @@ -95,8 +95,8 @@ class HttpListenSocket : public TCPListenSocket {
|
| //
|
| class EmbeddedTestServer : public StreamListenSocket::Delegate {
|
| public:
|
| - typedef base::Callback<scoped_ptr<HttpResponse>(
|
| - const HttpRequest& request)> HandleRequestCallback;
|
| + typedef base::Callback<scoped_ptr<HttpResponse>(const HttpRequest& request)>
|
| + HandleRequestCallback;
|
|
|
| // Creates a http test server. InitializeAndWaitUntilReady() must be called
|
| // to start the server.
|
| @@ -110,9 +110,7 @@ class EmbeddedTestServer : public StreamListenSocket::Delegate {
|
| bool ShutdownAndWaitUntilComplete() WARN_UNUSED_RESULT;
|
|
|
| // Checks if the server is started.
|
| - bool Started() const {
|
| - return listen_socket_.get() != NULL;
|
| - }
|
| + bool Started() const { return listen_socket_.get() != NULL; }
|
|
|
| // Returns the base URL to the server, which looks like
|
| // http://127.0.0.1:<port>/, where <port> is the actual port number used by
|
| @@ -171,8 +169,8 @@ class EmbeddedTestServer : public StreamListenSocket::Delegate {
|
| HttpConnection* FindConnection(StreamListenSocket* socket);
|
|
|
| // Posts a task to the |io_thread_| and waits for a reply.
|
| - bool PostTaskToIOThreadAndWait(
|
| - const base::Closure& closure) WARN_UNUSED_RESULT;
|
| + bool PostTaskToIOThreadAndWait(const base::Closure& closure)
|
| + WARN_UNUSED_RESULT;
|
|
|
| scoped_ptr<base::Thread> io_thread_;
|
|
|
|
|