| Index: chrome/browser/extensions/extension_startup_browsertest.cc
|
| ===================================================================
|
| --- chrome/browser/extensions/extension_startup_browsertest.cc (revision 66663)
|
| +++ chrome/browser/extensions/extension_startup_browsertest.cc (working copy)
|
| @@ -84,6 +84,9 @@
|
| void WaitForServicesToStart(int num_expected_extensions,
|
| bool expect_extensions_enabled) {
|
| ExtensionsService* service = browser()->profile()->GetExtensionsService();
|
| + if (!service->is_ready())
|
| + ui_test_utils::WaitForNotification(NotificationType::EXTENSIONS_READY);
|
| + ASSERT_TRUE(service->is_ready());
|
|
|
| // Count the number of non-component extensions.
|
| int found_extensions = 0;
|
|
|