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

Unified Diff: chrome/test/base/testing_profile.cc

Issue 8869005: Revert EnableClose() removal and related crash fixes. I don't understand the crashes here, and th... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years 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/test/base/testing_profile.cc
===================================================================
--- chrome/test/base/testing_profile.cc (revision 113407)
+++ chrome/test/base/testing_profile.cc (working copy)
@@ -373,19 +373,6 @@
this, BuildTemplateURLService);
}
-void TestingProfile::BlockUntilTemplateURLServiceLoaded() {
- TemplateURLService* turl_model =
- TemplateURLServiceFactory::GetForProfile(this);
- if (turl_model->loaded())
- return;
-
- ui_test_utils::WindowedNotificationObserver turl_service_load_observer(
- chrome::NOTIFICATION_TEMPLATE_URL_SERVICE_LOADED,
- content::NotificationService::AllSources());
- turl_model->Load();
- turl_service_load_observer.Wait();
-}
-
void TestingProfile::CreateExtensionProcessManager() {
extension_process_manager_.reset(ExtensionProcessManager::Create(this));
}

Powered by Google App Engine
This is Rietveld 408576698