From e284e6d8f6079a7cfc8eb70f010cf2378253fb18 Mon Sep 17 00:00:00 2001 From: "jochen@chromium.org" Date: Fri, 29 Jan 2010 19:49:45 +0000 Subject: Reland r37508. Implement HostContentSettingsMap. BUG=none TEST=none Review URL: http://codereview.chromium.org/555172 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37526 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/options_util.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'chrome/browser/options_util.cc') diff --git a/chrome/browser/options_util.cc b/chrome/browser/options_util.cc index 94732ea..6562c3d 100644 --- a/chrome/browser/options_util.cc +++ b/chrome/browser/options_util.cc @@ -7,6 +7,7 @@ #include "chrome/browser/browser_process.h" #include "chrome/browser/profile.h" #include "chrome/browser/download/download_manager.h" +#include "chrome/browser/host_content_settings_map.h" #include "chrome/browser/metrics/metrics_service.h" #include "chrome/common/pref_names.h" #include "chrome/common/pref_service.h" @@ -64,6 +65,7 @@ void OptionsUtil::ResetToDefaults(Profile* profile) { prefs::kWebKitSerifFontFamily, }; profile->GetDownloadManager()->ResetAutoOpenFiles(); + profile->GetHostContentSettingsMap()->ResetToDefaults(); for (size_t i = 0; i < arraysize(kUserPrefs); ++i) prefs->ClearPref(kUserPrefs[i]); -- cgit v1.1