| 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 | |
| 10 class Extension; | 8 class Extension; |
| 11 struct WebPreferences; | 9 struct WebPreferences; |
| 12 | 10 |
| 13 namespace extension_webkit_preferences { | 11 namespace extension_webkit_preferences { |
| 14 | 12 |
| 15 void SetPreferences(const Extension* extension, | 13 void SetPreferences(WebPreferences* preferences, const Extension* extension); |
| 16 content::ViewType render_view_type, | |
| 17 WebPreferences* webkit_prefs); | |
| 18 | 14 |
| 19 } // namespace extension_webkit_preferences | 15 } // namespace extension_webkit_preferences |
| 20 | 16 |
| 21 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_WEBKIT_PREFERENCES_H_ | 17 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_WEBKIT_PREFERENCES_H_ |
| OLD | NEW |