| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 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 | 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 #ifndef CHROME_BROWSER_RENDERER_PREFERENCES_UTIL_H_ | 5 #ifndef CHROME_BROWSER_RENDERER_PREFERENCES_UTIL_H_ |
| 6 #define CHROME_BROWSER_RENDERER_PREFERENCES_UTIL_H_ | 6 #define CHROME_BROWSER_RENDERER_PREFERENCES_UTIL_H_ |
| 7 | 7 |
| 8 class Profile; | 8 class Profile; |
| 9 | 9 |
| 10 namespace content { | 10 namespace content { |
| 11 struct RendererPreferences; | 11 struct RendererPreferences; |
| 12 class WebContents; |
| 12 } | 13 } |
| 13 | 14 |
| 14 namespace renderer_preferences_util { | 15 namespace renderer_preferences_util { |
| 15 | 16 |
| 16 // Copies system configuration preferences into |prefs|. | 17 // Copies system configuration preferences into |prefs|. |
| 17 void UpdateFromSystemSettings(content::RendererPreferences* prefs, | 18 void UpdateFromSystemSettings(content::RendererPreferences* prefs, |
| 18 Profile* profile); | 19 Profile* profile, |
| 20 content::WebContents* web_contents); |
| 19 | 21 |
| 20 } // namespace renderer_preferences_util | 22 } // namespace renderer_preferences_util |
| 21 | 23 |
| 22 #endif // CHROME_BROWSER_RENDERER_PREFERENCES_UTIL_H_ | 24 #endif // CHROME_BROWSER_RENDERER_PREFERENCES_UTIL_H_ |
| OLD | NEW |