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

Unified Diff: extensions/browser/api_unittest.cc

Issue 2688593002: WIP: Towards merging OffscreenCanvas and Mus code
Patch Set: Fix reflector unit test Created 3 years, 10 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
« no previous file with comments | « content/test/BUILD.gn ('k') | extensions/browser/extensions_test.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/api_unittest.cc
diff --git a/extensions/browser/api_unittest.cc b/extensions/browser/api_unittest.cc
index 9dda18c1b436ef3bfa1ee47e41689bb8e59f99c5..6eb9eb7f7dd0c8b5d313972294ec17f44ee86cef 100644
--- a/extensions/browser/api_unittest.cc
+++ b/extensions/browser/api_unittest.cc
@@ -34,12 +34,13 @@ ApiUnitTest::ApiUnitTest() {}
ApiUnitTest::~ApiUnitTest() {}
void ApiUnitTest::SetUp() {
- ExtensionsTest::SetUp();
-
thread_bundle_.reset(new content::TestBrowserThreadBundle(
content::TestBrowserThreadBundle::DEFAULT));
+
user_prefs::UserPrefs::Set(browser_context(), &testing_pref_service_);
+ ExtensionsTest::SetUp();
+
extension_ = ExtensionBuilder()
.SetManifest(DictionaryBuilder()
.Set("name", "Test")
« no previous file with comments | « content/test/BUILD.gn ('k') | extensions/browser/extensions_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698