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

Unified Diff: net/websockets/websocket_job.h

Issue 8340026: Use AuthCredentials throughout the network stack instead of username/password. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Reduce password zapping Created 9 years, 2 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/websockets/websocket_job.h
diff --git a/net/websockets/websocket_job.h b/net/websockets/websocket_job.h
index 041cc8ab0b4bbb828bb2a28d27f4bbf07e60a3b9..fa6665d391efaeb2b4fe57343079562bd0bf7f3b 100644
--- a/net/websockets/websocket_job.h
+++ b/net/websockets/websocket_job.h
@@ -57,9 +57,7 @@ class NET_EXPORT WebSocketJob
virtual void Connect();
virtual bool SendData(const char* data, int len);
virtual void Close();
- virtual void RestartWithAuth(
- const string16& username,
- const string16& password);
+ virtual void RestartWithAuth(const AuthCredentials& credentials);
virtual void DetachDelegate();
// SocketStream::Delegate methods.

Powered by Google App Engine
This is Rietveld 408576698