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

Unified Diff: chrome/browser/profiles/profile_io_data.cc

Issue 11238034: Added completion notification to Profile's ClearNetworkingHistorySince. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Missing newline at EOF. Created 8 years, 2 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: 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());
+}
+

Powered by Google App Engine
This is Rietveld 408576698