Index: chrome/test/base/testing_profile.cc |
diff --git a/chrome/test/base/testing_profile.cc b/chrome/test/base/testing_profile.cc |
index 72f1e80b7b13ed31f89f5080308e4d0a89ac0caf..9252e8d8fb878e8ad3aeefdce0f4d1de66f4e30f 100644 |
--- a/chrome/test/base/testing_profile.cc |
+++ b/chrome/test/base/testing_profile.cc |
@@ -46,6 +46,7 @@ |
#include "chrome/browser/webdata/web_data_service_factory.h" |
#include "chrome/common/chrome_constants.h" |
#include "chrome/common/chrome_switches.h" |
+#include "chrome/common/content_settings_component.h" |
#include "chrome/common/pref_names.h" |
#include "chrome/common/url_constants.h" |
#include "chrome/test/base/history_index_restore_observer.h" |
@@ -330,6 +331,8 @@ void TestingProfile::Init() { |
content::BrowserThread::UI) || |
content::BrowserThread::CurrentlyOn(content::BrowserThread::UI)); |
+ InitContentSettingsComponent(); |
+ |
#if defined(OS_ANDROID) |
// Make sure token service knows its running in tests. |
AndroidProfileOAuth2TokenService::set_is_testing_profile(); |