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

Unified Diff: net/websockets/websocket_job_unittest.cc

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/websockets/websocket_job.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/websockets/websocket_job_unittest.cc
diff --git a/net/websockets/websocket_job_unittest.cc b/net/websockets/websocket_job_unittest.cc
index 131f2d344b4177fa9bd6d6e10904df38fbedea5d..6ef777a2ab2c2dc7305102711e687bef02085eb8 100644
--- a/net/websockets/websocket_job_unittest.cc
+++ b/net/websockets/websocket_job_unittest.cc
@@ -41,16 +41,18 @@ class MockSocketStream : public net::SocketStream {
: SocketStream(url, delegate) {}
virtual ~MockSocketStream() {}
- virtual void Connect() {}
- virtual bool SendData(const char* data, int len) {
+ virtual void Connect() OVERRIDE {}
+ virtual bool SendData(const char* data, int len) OVERRIDE {
sent_data_ += std::string(data, len);
return true;
}
- virtual void Close() {}
+ virtual void Close() OVERRIDE {}
virtual void RestartWithAuth(
- const string16& username, const string16& password) {}
- virtual void DetachDelegate() {
+ const net::AuthCredentials& credentials) OVERRIDE {
+ }
+
+ virtual void DetachDelegate() OVERRIDE {
delegate_ = NULL;
}
« no previous file with comments | « net/websockets/websocket_job.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698