| Index: chrome/browser/extensions/extension_warning_service_unittest.cc
|
| diff --git a/chrome/browser/extensions/extension_warning_service_unittest.cc b/chrome/browser/extensions/extension_warning_service_unittest.cc
|
| index 7ad5b82b9c0459b9461c78687537f05b3d2fbc17..a612d6e7e14811c8df736036720341d5baa37c41 100644
|
| --- a/chrome/browser/extensions/extension_warning_service_unittest.cc
|
| +++ b/chrome/browser/extensions/extension_warning_service_unittest.cc
|
| @@ -8,6 +8,7 @@
|
| #include "chrome/browser/ui/global_error/global_error_service.h"
|
| #include "chrome/browser/ui/global_error/global_error_service_factory.h"
|
| #include "chrome/test/base/testing_profile.h"
|
| +#include "content/public/test/test_browser_thread_bundle.h"
|
| #include "testing/gmock/include/gmock/gmock.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
|
|
| @@ -47,6 +48,7 @@ const ExtensionWarning::WarningType warning_2 =
|
| // Check that inserting a warning triggers notifications, whereas inserting
|
| // the same warning again is silent.
|
| TEST(ExtensionWarningServiceTest, SetWarning) {
|
| + content::TestBrowserThreadBundle thread_bundle;
|
| TestingProfile profile;
|
| TestExtensionWarningService warning_service(&profile);
|
| MockObserver observer;
|
| @@ -69,6 +71,7 @@ TEST(ExtensionWarningServiceTest, SetWarning) {
|
| // Check that ClearWarnings deletes exactly the specified warnings and
|
| // triggers notifications where appropriate.
|
| TEST(ExtensionWarningServiceTest, ClearWarnings) {
|
| + content::TestBrowserThreadBundle thread_bundle;
|
| TestingProfile profile;
|
| TestExtensionWarningService warning_service(&profile);
|
| MockObserver observer;
|
|
|