Chromium Code Reviews| Index: chrome/test/base/chrome_test_suite.cc |
| =================================================================== |
| --- chrome/test/base/chrome_test_suite.cc (revision 132480) |
| +++ chrome/test/base/chrome_test_suite.cc (working copy) |
| @@ -166,7 +166,11 @@ |
| base::TestSuite::Initialize(); |
| - chrome::RegisterChromeSchemes(); |
| + chrome::ChromeContentClient client_for_init; |
| + content::SetContentClient(&client_for_init); |
| + const bool kDontLockStandardSchemes = false; |
| + content::RegisterContentSchemes(kDontLockStandardSchemes); |
|
jam
2012/04/17 03:30:10
nit: i'm personally not a fan of adding variables
michaeln
2012/04/17 04:08:26
I've warmed up to this self-documenting style, but
michaeln
2012/04/17 04:11:46
Actually, the convention in webkit would be to mak
jam
2012/04/17 04:49:51
my preference would be to remove it :)
michaeln
2012/04/17 19:23:32
Done.
|
| + content::SetContentClient(NULL); |
| chrome::RegisterPathProvider(); |
| content::RegisterPathProvider(); |