[email protected] | 93623c5d | 2009-12-10 21:40:32 | [diff] [blame] | 1 | // Copyright (c) 2009 The Chromium Authors. All rights reserved. |
2 | // Use of this source code is governed by a BSD-style license that can be | ||||
3 | // found in the LICENSE file. | ||||
4 | |||||
5 | #ifndef CHROME_BROWSER_RENDERER_PREFERENCES_UTIL_H_ | ||||
6 | #define CHROME_BROWSER_RENDERER_PREFERENCES_UTIL_H_ | ||||
7 | |||||
[email protected] | 93623c5d | 2009-12-10 21:40:32 | [diff] [blame] | 8 | class Profile; |
9 | |||||
[email protected] | daf82f8 | 2011-10-31 22:35:31 | [diff] [blame] | 10 | namespace content { |
11 | struct RendererPreferences; | ||||
wjmaclean | e530aa74 | 2014-10-14 21:43:30 | [diff] [blame] | 12 | class WebContents; |
[email protected] | daf82f8 | 2011-10-31 22:35:31 | [diff] [blame] | 13 | } |
14 | |||||
[email protected] | 93623c5d | 2009-12-10 21:40:32 | [diff] [blame] | 15 | namespace renderer_preferences_util { |
16 | |||||
[email protected] | 7ff431e | 2010-01-07 18:18:54 | [diff] [blame] | 17 | // Copies system configuration preferences into |prefs|. |
[email protected] | daf82f8 | 2011-10-31 22:35:31 | [diff] [blame] | 18 | void UpdateFromSystemSettings(content::RendererPreferences* prefs, |
wjmaclean | e530aa74 | 2014-10-14 21:43:30 | [diff] [blame] | 19 | Profile* profile, |
20 | content::WebContents* web_contents); | ||||
[email protected] | 93623c5d | 2009-12-10 21:40:32 | [diff] [blame] | 21 | |
22 | } // namespace renderer_preferences_util | ||||
23 | |||||
24 | #endif // CHROME_BROWSER_RENDERER_PREFERENCES_UTIL_H_ |