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

Unified Diff: net/socket_stream/socket_stream_metrics.h

Issue 6263010: More net/ header/implementation method reordering. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 11 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/socket_stream/socket_stream_metrics.h
diff --git a/net/socket_stream/socket_stream_metrics.h b/net/socket_stream/socket_stream_metrics.h
index 946a065e4da4f120f4340ad420e320d54210f5c0..66a9ffd8dcca6e5b0272bdb5f83ee4b1e46b942a 100644
--- a/net/socket_stream/socket_stream_metrics.h
+++ b/net/socket_stream/socket_stream_metrics.h
@@ -18,25 +18,13 @@ namespace net {
class SocketStreamMetrics {
public:
- explicit SocketStreamMetrics(const GURL& url);
- ~SocketStreamMetrics();
-
- void OnWaitConnection();
- void OnStartConnection();
- void OnTunnelProxy();
- void OnSOCKSProxy();
- void OnSSLConnection();
- void OnConnected();
- void OnRead(int len);
- void OnWrite(int len);
- void OnClose();
-
enum ProtocolType {
PROTOCOL_UNKNOWN,
PROTOCOL_WEBSOCKET,
PROTOCOL_WEBSOCKET_SECURE,
NUM_PROTOCOL_TYPES,
};
+
enum ConnectionType {
CONNECTION_NONE,
ALL_CONNECTIONS,
@@ -46,6 +34,19 @@ class SocketStreamMetrics {
NUM_CONNECTION_TYPES,
};
+ explicit SocketStreamMetrics(const GURL& url);
+ ~SocketStreamMetrics();
+
+ void OnWaitConnection();
+ void OnStartConnection();
+ void OnTunnelProxy();
+ void OnSOCKSProxy();
+ void OnSSLConnection();
+ void OnConnected();
+ void OnRead(int len);
+ void OnWrite(int len);
+ void OnClose();
+
private:
void CountProtocolType(ProtocolType protocol_type);
void CountConnectionType(ConnectionType connection_type);

Powered by Google App Engine
This is Rietveld 408576698