Chromium Code Reviews| 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() { |
|
Paweł Hajdan Jr.
2014/05/05 11:28:09
Why not just override CreateProfile?
|
| +} |
| + |
| void BrowserWithTestWindowTest::DestroyProfile(TestingProfile* profile) { |
| delete profile; |
| } |