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

Unified Diff: chrome/test/base/browser_with_test_window_test.cc

Issue 268643002: Use the DefaultSearchManager as the exclusive authority on DSE, ignoring Web Data. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix the KeywordEditorControllerTest. Created 6 years, 8 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: chrome/test/base/browser_with_test_window_test.cc
diff --git a/chrome/test/base/browser_with_test_window_test.cc b/chrome/test/base/browser_with_test_window_test.cc
index e5de4b2a3bcc818c41b4fabd0ba1916b329ee7b0..ff72817c7efb19f0f8a76980dcd0fff8b63a637c 100644
--- a/chrome/test/base/browser_with_test_window_test.cc
+++ b/chrome/test/base/browser_with_test_window_test.cc
@@ -80,6 +80,9 @@ void BrowserWithTestWindowTest::SetUp() {
// Subclasses can provide their own Profile.
profile_ = CreateProfile();
+
+ CustomizeServiceFactories();
+
// Subclasses can provide their own test BrowserWindow. If they return NULL
// then Browser will create the a production BrowserWindow and the subclass
// is responsible for cleaning it up (usually by NativeWidget destruction).
@@ -213,6 +216,9 @@ TestingProfile* BrowserWithTestWindowTest::CreateProfile() {
return new TestingProfile();
}
+void BrowserWithTestWindowTest::CustomizeServiceFactories() {
+}
+
void BrowserWithTestWindowTest::DestroyProfile(TestingProfile* profile) {
delete profile;
}

Powered by Google App Engine
This is Rietveld 408576698