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

Unified Diff: net/tools/flip_server/sm_connection.h

Issue 93793004: Format and Refactor Flip Server. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years 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/tools/flip_server/sm_connection.h
diff --git a/net/tools/flip_server/sm_connection.h b/net/tools/flip_server/sm_connection.h
index a79dca9b4f8dbf1a3447094d5728ff0d32fa50e2..786f255c81b68295f1ad82580977d12076c13e02 100644
--- a/net/tools/flip_server/sm_connection.h
+++ b/net/tools/flip_server/sm_connection.h
@@ -45,9 +45,9 @@ class SMConnection : public SMConnectionInterface,
virtual ~SMConnection();
static SMConnection* NewSMConnection(EpollServer* epoll_server,
- SSLState *ssl_state,
+ SSLState* ssl_state,
MemoryCache* memory_cache,
- FlipAcceptor *acceptor,
+ FlipAcceptor* acceptor,
std::string log_prefix);
// TODO(mbelshe): Make these private.
@@ -124,6 +124,7 @@ class SMConnection : public SMConnectionInterface,
MemoryCache* memory_cache,
FlipAcceptor* acceptor,
std::string log_prefix);
+
private:
int fd_;
int events_;
@@ -135,10 +136,10 @@ class SMConnection : public SMConnectionInterface,
SMConnectionPoolInterface* connection_pool_;
- EpollServer *epoll_server_;
- SSLState *ssl_state_;
+ EpollServer* epoll_server_;
+ SSLState* ssl_state_;
MemoryCache* memory_cache_;
- FlipAcceptor *acceptor_;
+ FlipAcceptor* acceptor_;
std::string client_ip_;
RingBuffer read_buffer_;

Powered by Google App Engine
This is Rietveld 408576698