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 #include "chrome/common/renderer_preferences.h" | 8 #include "chrome/common/renderer_preferences.h" |
9 | 9 |
10 class Profile; | 10 class Profile; |
11 | 11 |
12 namespace renderer_preferences_util { | 12 namespace renderer_preferences_util { |
13 | 13 |
14 RendererPreferences GetInitedRendererPreferences(Profile* profile); | 14 // Copies system configuration preferences into |prefs|. |
| 15 void UpdateFromSystemSettings(RendererPreferences* prefs, Profile* profile); |
15 | 16 |
16 } // namespace renderer_preferences_util | 17 } // namespace renderer_preferences_util |
17 | 18 |
18 #endif // CHROME_BROWSER_RENDERER_PREFERENCES_UTIL_H_ | 19 #endif // CHROME_BROWSER_RENDERER_PREFERENCES_UTIL_H_ |
OLD | NEW |