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

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: Fix comments 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
« no previous file with comments | « net/url_request/url_request_unittest.cc ('k') | net/websockets/websocket_job.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/websockets/websocket_job.h
diff --git a/net/websockets/websocket_job.h b/net/websockets/websocket_job.h
index 041cc8ab0b4bbb828bb2a28d27f4bbf07e60a3b9..f3c0ab18b7ff5bc1bb9160096cd9f4c8ef814d39 100644
--- a/net/websockets/websocket_job.h
+++ b/net/websockets/websocket_job.h
@@ -10,7 +10,6 @@
#include <vector>
#include "base/memory/weak_ptr.h"
-#include "base/string16.h"
#include "net/base/address_list.h"
#include "net/base/completion_callback.h"
#include "net/socket_stream/socket_stream_job.h"
@@ -57,9 +56,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.
« no previous file with comments | « net/url_request/url_request_unittest.cc ('k') | net/websockets/websocket_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698