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

Unified Diff: net/http/http_transaction_unittest.cc

Issue 6804032: Add TLS-SRP (RFC 5054) support Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: remove "httpsv" scheme, minor NSS/OpenSSL changes Created 9 years, 8 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_unittest.h ('k') | net/http/stream_factory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_transaction_unittest.cc
diff --git a/net/http/http_transaction_unittest.cc b/net/http/http_transaction_unittest.cc
index fabfb01d576b74d188eb80078dc1e690e75a534f..163a7888132090324e775cc787dc7de55f70ad8f 100644
--- a/net/http/http_transaction_unittest.cc
+++ b/net/http/http_transaction_unittest.cc
@@ -37,7 +37,8 @@ const MockTransaction kSimpleGET_Transaction = {
"<html><body>Google Blah Blah</body></html>",
TEST_MODE_NORMAL,
NULL,
- 0
+ 0,
+ string16()
};
const MockTransaction kSimplePOST_Transaction = {
@@ -52,7 +53,8 @@ const MockTransaction kSimplePOST_Transaction = {
"<html><body>Google Blah Blah</body></html>",
TEST_MODE_NORMAL,
NULL,
- 0
+ 0,
+ string16()
};
const MockTransaction kTypicalGET_Transaction = {
@@ -68,7 +70,8 @@ const MockTransaction kTypicalGET_Transaction = {
"<html><body>Google Blah Blah</body></html>",
TEST_MODE_NORMAL,
NULL,
- 0
+ 0,
+ string16()
};
const MockTransaction kETagGET_Transaction = {
@@ -84,7 +87,8 @@ const MockTransaction kETagGET_Transaction = {
"<html><body>Google Blah Blah</body></html>",
TEST_MODE_NORMAL,
NULL,
- 0
+ 0,
+ string16()
};
const MockTransaction kRangeGET_Transaction = {
@@ -99,7 +103,8 @@ const MockTransaction kRangeGET_Transaction = {
"<html><body>Google Blah Blah</body></html>",
TEST_MODE_NORMAL,
NULL,
- 0
+ 0,
+ string16()
};
static const MockTransaction* const kBuiltinMockTransactions[] = {
@@ -247,6 +252,7 @@ int MockNetworkTransaction::Start(const net::HttpRequestInfo* request,
response_.headers = new net::HttpResponseHeaders(header_data);
response_.ssl_info.cert_status = t->cert_status;
+ response_.ssl_info.tls_username = t->tls_username;
data_ = resp_data;
test_mode_ = t->test_mode;
@@ -268,6 +274,14 @@ int MockNetworkTransaction::RestartWithCertificate(
return net::ERR_FAILED;
}
+void MockNetworkTransaction::SetTLSLoginAuthData(net::AuthData* auth_data) {
+}
+
+int MockNetworkTransaction::RestartWithTLSLogin(
+ net::CompletionCallback* callback) {
+ return net::ERR_FAILED;
+}
+
int MockNetworkTransaction::RestartWithAuth(const string16& username,
const string16& password,
net::CompletionCallback* callback) {
« no previous file with comments | « net/http/http_transaction_unittest.h ('k') | net/http/stream_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698