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