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

Side by Side Diff: chrome/browser/extensions/api/settings_private/prefs_util.cc

Issue 2075023002: UI Changes to support clearing EME/CDM data (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: revert options_page.css Created 4 years, 5 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/extensions/api/settings_private/prefs_util.h" 5 #include "chrome/browser/extensions/api/settings_private/prefs_util.h"
6 6
7 #include "build/build_config.h" 7 #include "build/build_config.h"
8 #include "chrome/browser/browser_process.h" 8 #include "chrome/browser/browser_process.h"
9 #include "chrome/browser/extensions/chrome_extension_function.h" 9 #include "chrome/browser/extensions/chrome_extension_function.h"
10 #include "chrome/browser/profiles/profile.h" 10 #include "chrome/browser/profiles/profile.h"
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 (*s_whitelist)["browser.clear_data.cache"] = 144 (*s_whitelist)["browser.clear_data.cache"] =
145 settings_private::PrefType::PREF_TYPE_BOOLEAN; 145 settings_private::PrefType::PREF_TYPE_BOOLEAN;
146 (*s_whitelist)["browser.clear_data.cookies"] = 146 (*s_whitelist)["browser.clear_data.cookies"] =
147 settings_private::PrefType::PREF_TYPE_BOOLEAN; 147 settings_private::PrefType::PREF_TYPE_BOOLEAN;
148 (*s_whitelist)["browser.clear_data.passwords"] = 148 (*s_whitelist)["browser.clear_data.passwords"] =
149 settings_private::PrefType::PREF_TYPE_BOOLEAN; 149 settings_private::PrefType::PREF_TYPE_BOOLEAN;
150 (*s_whitelist)["browser.clear_data.form_data"] = 150 (*s_whitelist)["browser.clear_data.form_data"] =
151 settings_private::PrefType::PREF_TYPE_BOOLEAN; 151 settings_private::PrefType::PREF_TYPE_BOOLEAN;
152 (*s_whitelist)["browser.clear_data.hosted_apps_data"] = 152 (*s_whitelist)["browser.clear_data.hosted_apps_data"] =
153 settings_private::PrefType::PREF_TYPE_BOOLEAN; 153 settings_private::PrefType::PREF_TYPE_BOOLEAN;
154 (*s_whitelist)["browser.clear_data.content_licenses"] = 154 (*s_whitelist)["browser.clear_data.media_licenses"] =
155 settings_private::PrefType::PREF_TYPE_BOOLEAN; 155 settings_private::PrefType::PREF_TYPE_BOOLEAN;
156 (*s_whitelist)["browser.clear_data.time_period"] = 156 (*s_whitelist)["browser.clear_data.time_period"] =
157 settings_private::PrefType::PREF_TYPE_NUMBER; 157 settings_private::PrefType::PREF_TYPE_NUMBER;
158 (*s_whitelist)["profile.default_content_setting_values.cookies"] = 158 (*s_whitelist)["profile.default_content_setting_values.cookies"] =
159 settings_private::PrefType::PREF_TYPE_NUMBER; 159 settings_private::PrefType::PREF_TYPE_NUMBER;
160 (*s_whitelist)["profile.default_content_setting_values.fullscreen"] = 160 (*s_whitelist)["profile.default_content_setting_values.fullscreen"] =
161 settings_private::PrefType::PREF_TYPE_NUMBER; 161 settings_private::PrefType::PREF_TYPE_NUMBER;
162 (*s_whitelist)["profile.default_content_setting_values.geolocation"] = 162 (*s_whitelist)["profile.default_content_setting_values.geolocation"] =
163 settings_private::PrefType::PREF_TYPE_NUMBER; 163 settings_private::PrefType::PREF_TYPE_NUMBER;
164 (*s_whitelist)["profile.default_content_setting_values.images"] = 164 (*s_whitelist)["profile.default_content_setting_values.images"] =
(...skipping 474 matching lines...) Expand 10 before | Expand all | Expand 10 after
639 639
640 bool PrefsUtil::IsCrosSetting(const std::string& pref_name) { 640 bool PrefsUtil::IsCrosSetting(const std::string& pref_name) {
641 #if defined(OS_CHROMEOS) 641 #if defined(OS_CHROMEOS)
642 return CrosSettings::Get()->IsCrosSettings(pref_name); 642 return CrosSettings::Get()->IsCrosSettings(pref_name);
643 #else 643 #else
644 return false; 644 return false;
645 #endif 645 #endif
646 } 646 }
647 647
648 } // namespace extensions 648 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/browser/browsing_data/media_licenses_counter_browsertest.cc ('k') | chrome/browser/pepper_flash_settings_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698