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

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

Issue 266243004: Clang format slam. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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
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_;

Powered by Google App Engine
This is Rietveld 408576698