summaryrefslogtreecommitdiffstats
path: root/net/websockets
diff options
context:
space:
mode:
Diffstat (limited to 'net/websockets')
-rw-r--r--net/websockets/websocket.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/net/websockets/websocket.h b/net/websockets/websocket.h
index cc0176b..da72870 100644
--- a/net/websockets/websocket.h
+++ b/net/websockets/websocket.h
@@ -72,8 +72,10 @@ class NET_API WebSocket : public base::RefCountedThreadSafe<WebSocket>,
};
class Request {
public:
- Request(const GURL& url, const std::string protocol,
- const std::string origin, const std::string location,
+ Request(const GURL& url,
+ const std::string& protocol,
+ const std::string& origin,
+ const std::string& location,
ProtocolVersion version,
net::URLRequestContext* context)
: url_(url),