| OLD | NEW |
| 1 // Copyright (c) 2012 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 namespace extensions { |
| 10 class Extension; | 11 class Extension; |
| 12 } |
| 11 | 13 |
| 12 namespace webkit_glue { | 14 namespace webkit_glue { |
| 13 struct WebPreferences; | 15 struct WebPreferences; |
| 14 } | 16 } |
| 15 | 17 |
| 16 namespace extension_webkit_preferences { | 18 namespace extension_webkit_preferences { |
| 17 | 19 |
| 18 void SetPreferences(const Extension* extension, | 20 void SetPreferences(const extensions::Extension* extension, |
| 19 content::ViewType render_view_type, | 21 content::ViewType render_view_type, |
| 20 webkit_glue::WebPreferences* webkit_prefs); | 22 webkit_glue::WebPreferences* webkit_prefs); |
| 21 | 23 |
| 22 } // namespace extension_webkit_preferences | 24 } // namespace extension_webkit_preferences |
| 23 | 25 |
| 24 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_WEBKIT_PREFERENCES_H_ | 26 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_WEBKIT_PREFERENCES_H_ |
| OLD | NEW |