| 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) {
|
|
|