blob: d599d9d4d869012167ccb5c2db40767c6274beb9 [file] [log] [blame]
[email protected]37cc8042012-02-27 19:32:581// Copyright (c) 2012 The Chromium Authors. All rights reserved.
[email protected]93623c5d2009-12-10 21:40:322// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#include "chrome/browser/renderer_preferences_util.h"
6
guidouca055a542016-08-11 11:15:537#include <string>
8
[email protected]516b2c732014-07-25 00:10:319#include "base/macros.h"
guidouca055a542016-08-11 11:15:5310#include "base/strings/string_number_conversions.h"
11#include "base/strings/string_util.h"
avib896c712015-12-26 02:10:4312#include "build/build_config.h"
John Abd-El-Malek7d032b372019-05-07 18:01:3113#include "chrome/browser/browser_process.h"
[email protected]8ecad5e2010-12-02 21:18:3314#include "chrome/browser/profiles/profile.h"
[email protected]0a8db0d2011-04-13 15:15:4015#include "chrome/common/pref_names.h"
Alexandre Frechette572755b2019-02-13 22:30:2016#include "components/language/core/browser/pref_names.h"
brettwb1fc1b82016-02-02 00:19:0817#include "components/prefs/pref_service.h"
Ian Vollick0c34a072019-02-15 03:40:2718#include "content/public/browser/renderer_preferences_util.h"
Scott Violeta35f9a42018-03-22 22:00:4419#include "media/media_buildflags.h"
Antonio Gomesb5bf548f2019-09-12 17:40:1520#include "third_party/blink/public/common/peerconnection/webrtc_ip_handling_policy.h"
Leon Hanc819dc62019-01-28 04:30:1921#include "third_party/blink/public/mojom/renderer_preferences.mojom.h"
Blink Reformata30d4232018-04-07 15:31:0622#include "third_party/blink/public/public_buildflags.h"
[email protected]38a85712013-01-02 22:45:0223#include "third_party/skia/include/core/SkColor.h"
Ionel Popescu2649f2f2020-01-10 10:06:5924#include "ui/base/ui_base_features.h"
[email protected]93623c5d2009-12-10 21:40:3225
[email protected]dbf75012013-09-24 06:37:2526#if defined(TOOLKIT_VIEWS)
27#include "ui/views/controls/textfield/textfield.h"
[email protected]7bd129f2012-11-30 02:06:0128#endif
29
ellyjonesd0fd7b12016-08-26 18:26:3630#if defined(OS_MACOSX)
31#include "ui/base/cocoa/defaults_utils.h"
32#endif
33
[email protected]96514e72013-09-25 20:42:24