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