Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(58)

Side by Side Diff: chrome/browser/content_settings/host_content_settings_map.cc

Issue 551093003: Remove Google Talk plugin whitelisting now that b/11355273 is fixed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/ui/webui/options/content_settings_handler.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/content_settings/host_content_settings_map.h" 5 #include "chrome/browser/content_settings/host_content_settings_map.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 } 145 }
146 #endif 146 #endif
147 147
148 // static 148 // static
149 void HostContentSettingsMap::RegisterProfilePrefs( 149 void HostContentSettingsMap::RegisterProfilePrefs(
150 user_prefs::PrefRegistrySyncable* registry) { 150 user_prefs::PrefRegistrySyncable* registry) {
151 registry->RegisterIntegerPref( 151 registry->RegisterIntegerPref(
152 prefs::kContentSettingsWindowLastTabIndex, 152 prefs::kContentSettingsWindowLastTabIndex,
153 0, 153 0,
154 user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF); 154 user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
155 registry->RegisterIntegerPref(
156 prefs::kContentSettingsDefaultWhitelistVersion,
157 0,
158 user_prefs::PrefRegistrySyncable::SYNCABLE_PREF);
159 registry->RegisterBooleanPref( 155 registry->RegisterBooleanPref(
160 prefs::kContentSettingsClearOnExitMigrated, 156 prefs::kContentSettingsClearOnExitMigrated,
161 false, 157 false,
162 user_prefs::PrefRegistrySyncable::SYNCABLE_PREF); 158 user_prefs::PrefRegistrySyncable::SYNCABLE_PREF);
163 159
164 // Register the prefs for the content settings providers. 160 // Register the prefs for the content settings providers.
165 content_settings::DefaultProvider::RegisterProfilePrefs(registry); 161 content_settings::DefaultProvider::RegisterProfilePrefs(registry);
166 content_settings::PrefProvider::RegisterProfilePrefs(registry); 162 content_settings::PrefProvider::RegisterProfilePrefs(registry);
167 content_settings::PolicyProvider::RegisterProfilePrefs(registry); 163 content_settings::PolicyProvider::RegisterProfilePrefs(registry);
168 } 164 }
(...skipping 587 matching lines...) Expand 10 before | Expand all | Expand 10 after
756 } 752 }
757 753
758 NOTREACHED(); 754 NOTREACHED();
759 return DEFAULT_PROVIDER; 755 return DEFAULT_PROVIDER;
760 } 756 }
761 757
762 content_settings::PrefProvider* HostContentSettingsMap::GetPrefProvider() { 758 content_settings::PrefProvider* HostContentSettingsMap::GetPrefProvider() {
763 return static_cast<content_settings::PrefProvider*>( 759 return static_cast<content_settings::PrefProvider*>(
764 content_settings_providers_[PREF_PROVIDER]); 760 content_settings_providers_[PREF_PROVIDER]);
765 } 761 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/webui/options/content_settings_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698