| Index: chrome/browser/profiles/profile_io_data.cc
|
| diff --git a/chrome/browser/profiles/profile_io_data.cc b/chrome/browser/profiles/profile_io_data.cc
|
| index 1da278c25b04d705366dd3cf51128aa41062ffbe..68e395d8b8b45c0aae6b620432ca1ca2d2e9cfe9 100644
|
| --- a/chrome/browser/profiles/profile_io_data.cc
|
| +++ b/chrome/browser/profiles/profile_io_data.cc
|
| @@ -724,3 +724,12 @@ void ProfileIOData::PopulateNetworkSessionParams(
|
| switches::kTrustedSpdyProxy);
|
| }
|
| }
|
| +
|
| +void ProfileIOData::InitForTesting() {
|
| + initialized_ = true;
|
| + initialized_on_UI_thread_ = true;
|
| +
|
| + // Set up a TransportSecurityState for testing removing browsing data.
|
| + transport_security_state_.reset(new net::TransportSecurityState());
|
| +}
|
| +
|
|
|