summaryrefslogtreecommitdiffstats
path: root/net/websockets/websocket_job.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/websockets/websocket_job.cc')
-rw-r--r--net/websockets/websocket_job.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/net/websockets/websocket_job.cc b/net/websockets/websocket_job.cc
index 18db83c..4c64496 100644
--- a/net/websockets/websocket_job.cc
+++ b/net/websockets/websocket_job.cc
@@ -155,11 +155,9 @@ void WebSocketJob::Close() {
CloseInternal();
}
-void WebSocketJob::RestartWithAuth(
- const string16& username,
- const string16& password) {
+void WebSocketJob::RestartWithAuth(const AuthCredentials& credentials) {
state_ = CONNECTING;
- socket_->RestartWithAuth(username, password);
+ socket_->RestartWithAuth(credentials);
}
void WebSocketJob::DetachDelegate() {