Index: net/http/http_network_layer.h |
diff --git a/net/http/http_network_layer.h b/net/http/http_network_layer.h |
index 730b5c78e56bf1bf60bcb5c576e49422fd8e6f2d..963ebeeb248a916122a4ef22f3ced5a2fb3e162e 100644 |
--- a/net/http/http_network_layer.h |
+++ b/net/http/http_network_layer.h |
@@ -78,6 +78,7 @@ class HttpNetworkLayer : public HttpTransactionFactory, |
HttpAuthHandlerFactory* http_auth_handler_factory, |
HttpNetworkDelegate* network_delegate, |
NetLog* net_log); |
+ |
// Create a transaction factory that instantiate a network layer over an |
// existing network session. Network session contains some valuable |
// information (e.g. authentication data) that we want to share across |
@@ -86,12 +87,6 @@ class HttpNetworkLayer : public HttpTransactionFactory, |
// when network session is shared. |
static HttpTransactionFactory* CreateFactory(HttpNetworkSession* session); |
- // HttpTransactionFactory methods: |
- virtual int CreateTransaction(scoped_ptr<HttpTransaction>* trans); |
- virtual HttpCache* GetCache(); |
- virtual HttpNetworkSession* GetSession(); |
- virtual void Suspend(bool suspend); |
- |
// Enable the spdy protocol. |
// Without calling this function, SPDY is disabled. The mode can be: |
// "" : (default) SSL and compression are enabled, flow |
@@ -102,6 +97,12 @@ class HttpNetworkLayer : public HttpTransactionFactory, |
// "none" : disables both SSL and compression. |
static void EnableSpdy(const std::string& mode); |
+ // HttpTransactionFactory methods: |
+ virtual int CreateTransaction(scoped_ptr<HttpTransaction>* trans); |
+ virtual HttpCache* GetCache(); |
+ virtual HttpNetworkSession* GetSession(); |
+ virtual void Suspend(bool suspend); |
+ |
private: |
// The factory we will use to create network sockets. |
ClientSocketFactory* socket_factory_; |