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

Unified Diff: net/http/http_transaction_unittest.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/http/http_transaction.h ('k') | net/http/http_transaction_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_transaction_unittest.h
diff --git a/net/http/http_transaction_unittest.h b/net/http/http_transaction_unittest.h
index 825ea531a34cc198535b0da851c15ab22d213e87..d88b8b3631905e3ba4d562202d98b9da0488a4a8 100644
--- a/net/http/http_transaction_unittest.h
+++ b/net/http/http_transaction_unittest.h
@@ -160,31 +160,33 @@ class MockNetworkTransaction : public net::HttpTransaction {
virtual int Start(const net::HttpRequestInfo* request,
net::OldCompletionCallback* callback,
- const net::BoundNetLog& net_log);
+ const net::BoundNetLog& net_log) OVERRIDE;
- virtual int RestartIgnoringLastError(net::OldCompletionCallback* callback);
+ virtual int RestartIgnoringLastError(
+ net::OldCompletionCallback* callback) OVERRIDE;
- virtual int RestartWithCertificate(net::X509Certificate* client_cert,
- net::OldCompletionCallback* callback);
+ virtual int RestartWithCertificate(
+ net::X509Certificate* client_cert,
+ net::OldCompletionCallback* callback) OVERRIDE;
- virtual int RestartWithAuth(const string16& username,
- const string16& password,
- net::OldCompletionCallback* callback);
+ virtual int RestartWithAuth(
+ const net::AuthCredentials& credentials,
+ net::OldCompletionCallback* callback) OVERRIDE;
- virtual bool IsReadyToRestartForAuth();
+ virtual bool IsReadyToRestartForAuth() OVERRIDE;
virtual int Read(net::IOBuffer* buf, int buf_len,
- net::OldCompletionCallback* callback);
+ net::OldCompletionCallback* callback) OVERRIDE;
- virtual void StopCaching();
+ virtual void StopCaching() OVERRIDE;
- virtual void DoneReading();
+ virtual void DoneReading() OVERRIDE;
- virtual const net::HttpResponseInfo* GetResponseInfo() const;
+ virtual const net::HttpResponseInfo* GetResponseInfo() const OVERRIDE;
- virtual net::LoadState GetLoadState() const;
+ virtual net::LoadState GetLoadState() const OVERRIDE;
- virtual uint64 GetUploadProgress() const;
+ virtual uint64 GetUploadProgress() const OVERRIDE;
private:
void CallbackLater(net::OldCompletionCallback* callback, int result);
« no previous file with comments | « net/http/http_transaction.h ('k') | net/http/http_transaction_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698