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

Unified Diff: trunk/src/chrome/browser/extensions/extension_warning_service_unittest.cc

Issue 23551005: Revert 219709 "Remove the Extensions URLRequestContext." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 4 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: trunk/src/chrome/browser/extensions/extension_warning_service_unittest.cc
===================================================================
--- trunk/src/chrome/browser/extensions/extension_warning_service_unittest.cc (revision 219785)
+++ trunk/src/chrome/browser/extensions/extension_warning_service_unittest.cc (working copy)
@@ -8,7 +8,6 @@
#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"
@@ -48,7 +47,6 @@
// 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;
@@ -71,7 +69,6 @@
// 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;

Powered by Google App Engine
This is Rietveld 408576698