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

Side by Side Diff: net/http/http_transaction_unittest.h

Issue 118039: Implement SSL client authentication for Windows.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Upload before checkin Created 11 years, 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « net/http/http_transaction.h ('k') | net/net.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NET_HTTP_HTTP_TRANSACTION_UNITTEST_H_ 5 #ifndef NET_HTTP_HTTP_TRANSACTION_UNITTEST_H_
6 #define NET_HTTP_HTTP_TRANSACTION_UNITTEST_H_ 6 #define NET_HTTP_HTTP_TRANSACTION_UNITTEST_H_
7 7
8 #include "net/http/http_transaction.h" 8 #include "net/http/http_transaction.h"
9 9
10 #include <algorithm> 10 #include <algorithm>
11 #include <string> 11 #include <string>
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 return net::OK; 227 return net::OK;
228 228
229 CallbackLater(callback, net::OK); 229 CallbackLater(callback, net::OK);
230 return net::ERR_IO_PENDING; 230 return net::ERR_IO_PENDING;
231 } 231 }
232 232
233 virtual int RestartIgnoringLastError(net::CompletionCallback* callback) { 233 virtual int RestartIgnoringLastError(net::CompletionCallback* callback) {
234 return net::ERR_FAILED; 234 return net::ERR_FAILED;
235 } 235 }
236 236
237 virtual int RestartWithCertificate(net::X509Certificate* client_cert,
238 net::CompletionCallback* callback) {
239 return net::ERR_FAILED;
240 }
241
237 virtual int RestartWithAuth(const std::wstring& username, 242 virtual int RestartWithAuth(const std::wstring& username,
238 const std::wstring& password, 243 const std::wstring& password,
239 net::CompletionCallback* callback) { 244 net::CompletionCallback* callback) {
240 return net::ERR_FAILED; 245 return net::ERR_FAILED;
241 } 246 }
242 247
243 virtual bool IsReadyToRestartForAuth() { 248 virtual bool IsReadyToRestartForAuth() {
244 return false; 249 return false;
245 } 250 }
246 251
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
311 }; 316 };
312 317
313 318
314 //----------------------------------------------------------------------------- 319 //-----------------------------------------------------------------------------
315 // helpers 320 // helpers
316 321
317 // read the transaction completely 322 // read the transaction completely
318 int ReadTransaction(net::HttpTransaction* trans, std::string* result); 323 int ReadTransaction(net::HttpTransaction* trans, std::string* result);
319 324
320 #endif // NET_HTTP_HTTP_TRANSACTION_UNITTEST_H_ 325 #endif // NET_HTTP_HTTP_TRANSACTION_UNITTEST_H_
OLDNEW
« no previous file with comments | « net/http/http_transaction.h ('k') | net/net.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698