| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_EXTENSIONS_EXTENSION_WEBKIT_PREFERENCES_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_WEBKIT_PREFERENCES_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_WEBKIT_PREFERENCES_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_WEBKIT_PREFERENCES_H_ |
| 7 | 7 |
| 8 #include "chrome/common/chrome_view_types.h" |
| 9 |
| 8 class Extension; | 10 class Extension; |
| 9 struct WebPreferences; | 11 struct WebPreferences; |
| 10 | 12 |
| 11 namespace extension_webkit_preferences { | 13 namespace extension_webkit_preferences { |
| 12 | 14 |
| 13 void SetPreferences(WebPreferences* preferences, const Extension* extension); | 15 void SetPreferences(const Extension* extension, |
| 16 content::ViewType render_view_type, |
| 17 WebPreferences* webkit_prefs); |
| 14 | 18 |
| 15 } // namespace extension_webkit_preferences | 19 } // namespace extension_webkit_preferences |
| 16 | 20 |
| 17 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_WEBKIT_PREFERENCES_H_ | 21 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_WEBKIT_PREFERENCES_H_ |
| OLD | NEW |