Index: chrome/test/base/testing_profile_manager.cc |
diff --git a/chrome/test/base/testing_profile_manager.cc b/chrome/test/base/testing_profile_manager.cc |
index f8273ee41819ce33fed3dc4ec82545188b5ba22e..328617ad9ffe636e6120eaadce9fecfff1ebccb4 100644 |
--- a/chrome/test/base/testing_profile_manager.cc |
+++ b/chrome/test/base/testing_profile_manager.cc |
@@ -97,6 +97,10 @@ ProfileInfoCache* TestingProfileManager::profile_info_cache() { |
return &profile_manager_->GetProfileInfoCache(); |
} |
+void TestingProfileManager::DeleteProfileInfoCache() { |
+ profile_manager_->profile_info_cache_.reset(NULL); |
+} |
+ |
void TestingProfileManager::SetUpInternal() { |
ASSERT_FALSE(browser_process_->profile_manager()) |
<< "ProfileManager already exists"; |