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 "extensions/common/view_type.h" | 8 #include "extensions/common/view_type.h" |
9 | 9 |
| 10 namespace content { |
10 struct WebPreferences; | 11 struct WebPreferences; |
| 12 } |
11 | 13 |
12 namespace extensions { | 14 namespace extensions { |
13 class Extension; | 15 class Extension; |
14 } | 16 } |
15 | 17 |
16 namespace extension_webkit_preferences { | 18 namespace extension_webkit_preferences { |
17 | 19 |
18 void SetPreferences(const extensions::Extension* extension, | 20 void SetPreferences(const extensions::Extension* extension, |
19 extensions::ViewType render_view_type, | 21 extensions::ViewType render_view_type, |
20 WebPreferences* webkit_prefs); | 22 content::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 |