Index: sync/tools/sync_client.cc |
diff --git a/sync/tools/sync_client.cc b/sync/tools/sync_client.cc |
index 8e47287d5983905a874cd9d87a9c7abfb289f805..f671edc10dbd29dafc493c3f0e7d3221584a4d00 100644 |
--- a/sync/tools/sync_client.cc |
+++ b/sync/tools/sync_client.cc |
@@ -25,6 +25,7 @@ |
#include "net/base/host_port_pair.h" |
#include "net/base/host_resolver.h" |
#include "net/base/network_change_notifier.h" |
+#include "net/base/transport_security_state.h" |
#include "net/url_request/url_request_test_util.h" |
#include "sync/internal_api/public/base/model_type.h" |
#include "sync/internal_api/public/base_node.h" |
@@ -102,6 +103,8 @@ class MyTestURLRequestContext : public TestURLRequestContext { |
net::HostResolver::kDefaultParallelism, |
net::HostResolver::kDefaultRetryAttempts, |
NULL)); |
+ context_storage_.set_transport_security_state( |
+ new net::TransportSecurityState()); |
Init(); |
} |