| Index: content/test/content_test_suite.cc
|
| ===================================================================
|
| --- content/test/content_test_suite.cc (revision 133033)
|
| +++ content/test/content_test_suite.cc (working copy)
|
| @@ -10,6 +10,7 @@
|
| #include "content/browser/notification_service_impl.h"
|
| #include "content/public/common/content_client.h"
|
| #include "content/public/common/content_paths.h"
|
| +#include "content/public/common/url_constants.h"
|
| #include "content/test/test_content_client.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
| #include "ui/base/ui_base_paths.h"
|
| @@ -71,6 +72,11 @@
|
|
|
| base::TestSuite::Initialize();
|
|
|
| + TestContentClient client_for_init;
|
| + content::SetContentClient(&client_for_init);
|
| + content::RegisterContentSchemes(false);
|
| + content::SetContentClient(NULL);
|
| +
|
| content::RegisterPathProvider();
|
| ui::RegisterPathProvider();
|
|
|
|
|