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