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

Unified Diff: net/dns/address_sorter_posix_unittest.cc

Issue 135373002: Added SSLHostInfo. Storing of server host info to our standard disk cache. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed wtc's comments Created 6 years, 11 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
Index: net/dns/address_sorter_posix_unittest.cc
diff --git a/net/dns/address_sorter_posix_unittest.cc b/net/dns/address_sorter_posix_unittest.cc
index c45173799579d129c64103d32520cebf0fc1ce38..6f09cc32fdcda47b5b03597a51789ef1eefeca15 100644
--- a/net/dns/address_sorter_posix_unittest.cc
+++ b/net/dns/address_sorter_posix_unittest.cc
@@ -9,8 +9,10 @@
#include "net/base/net_errors.h"
#include "net/base/net_util.h"
#include "net/base/test_completion_callback.h"
+#include "net/cert/x509_certificate.h"
wtc 2014/01/18 01:02:01 Is it necessary to add this header?
ramant (doing other things) 2014/01/18 01:28:53 ssl_host_info.h did a forward declaration of X509C
#include "net/socket/client_socket_factory.h"
#include "net/socket/ssl_client_socket.h"
+#include "net/socket/ssl_host_info.h"
#include "net/socket/stream_socket.h"
#include "net/udp/datagram_client_socket.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -110,8 +112,10 @@ class TestSocketFactory : public ClientSocketFactory {
scoped_ptr<ClientSocketHandle>,
const HostPortPair&,
const SSLConfig&,
+ SSLHostInfo* ssl_host_info,
const SSLClientSocketContext&) OVERRIDE {
NOTIMPLEMENTED();
+ delete ssl_host_info;
return scoped_ptr<SSLClientSocket>();
}
virtual void ClearSSLSessionCache() OVERRIDE {

Powered by Google App Engine
This is Rietveld 408576698