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

Unified Diff: trunk/src/chrome/browser/search_engines/template_url_prepopulate_data_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/search_engines/template_url_prepopulate_data_unittest.cc
===================================================================
--- trunk/src/chrome/browser/search_engines/template_url_prepopulate_data_unittest.cc (revision 219785)
+++ trunk/src/chrome/browser/search_engines/template_url_prepopulate_data_unittest.cc (working copy)
@@ -15,7 +15,6 @@
#include "chrome/common/pref_names.h"
#include "chrome/test/base/testing_pref_service_syncable.h"
#include "chrome/test/base/testing_profile.h"
-#include "content/public/test/test_browser_thread_bundle.h"
#include "grit/generated_resources.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/base/l10n/l10n_util.h"
@@ -84,7 +83,6 @@
'V'<<8|'N', 'V'<<8|'U', 'W'<<8|'F', 'W'<<8|'S', 'Y'<<8|'E',
'Y'<<8|'T', 'Z'<<8|'A', 'Z'<<8|'M', 'Z'<<8|'W', -1 };
- content::TestBrowserThreadBundle thread_bundle;
TestingProfile profile;
for (size_t i = 0; i < arraysize(kCountryIds); ++i) {
profile.GetPrefs()->SetInteger(prefs::kCountryIDAtInstall, kCountryIds[i]);
@@ -104,7 +102,6 @@
// Verifies that default search providers from the preferences file
// override the built-in ones.
TEST(TemplateURLPrepopulateDataTest, ProvidersFromPrefs) {
- content::TestBrowserThreadBundle thread_bundle;
TestingProfile profile;
TestingPrefServiceSyncable* prefs = profile.GetTestingPrefService();
prefs->SetUserPref(prefs::kSearchProviderOverridesVersion,
@@ -194,7 +191,6 @@
}
TEST(TemplateURLPrepopulateDataTest, ClearProvidersFromPrefs) {
- content::TestBrowserThreadBundle thread_bundle;
TestingProfile profile;
TestingPrefServiceSyncable* prefs = profile.GetTestingPrefService();
prefs->SetUserPref(prefs::kSearchProviderOverridesVersion,
@@ -248,7 +244,6 @@
// Use United States.
CommandLine::ForCurrentProcess()->AppendSwitchASCII(
switches::kCountry, "US");
- content::TestBrowserThreadBundle thread_bundle;
TestingProfile profile;
ScopedVector<TemplateURL> t_urls;
size_t default_index;

Powered by Google App Engine
This is Rietveld 408576698