[email protected] | 6717bf27 | 2012-05-11 23:31:25 | [diff] [blame] | 1 | // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
[email protected] | 5092c28 | 2011-10-29 21:48:37 | [diff] [blame] | 2 | // Use of this source code is governed by a BSD-style license that can be |
3 | // found in the LICENSE file. | ||||
4 | |||||
5 | #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_WEBKIT_PREFERENCES_H_ | ||||
6 | #define CHROME_BROWSER_EXTENSIONS_EXTENSION_WEBKIT_PREFERENCES_H_ | ||||
7 | |||||
[email protected] | cb2edf2 | 2013-04-01 20:25:23 | [diff] [blame] | 8 | #include "extensions/common/view_type.h" |
[email protected] | 952a68e | 2011-11-17 00:36:10 | [diff] [blame] | 9 | |
[email protected] | b3a97b5 | 2014-07-09 06:25:05 | [diff] [blame] | 10 | namespace content { |
[email protected] | 3184f90b | 2013-05-01 18:17:53 | [diff] [blame] | 11 | struct WebPreferences; |
[email protected] | b3a97b5 | 2014-07-09 06:25:05 | [diff] [blame] | 12 | } |
[email protected] | 3184f90b | 2013-05-01 18:17:53 | [diff] [blame] | 13 | |
[email protected] | 1c321ee | 2012-05-21 03:02:34 | [diff] [blame] | 14 | namespace extensions { |
[email protected] | 5092c28 | 2011-10-29 21:48:37 | [diff] [blame] | 15 | class Extension; |
[email protected] | 1c321ee | 2012-05-21 03:02:34 | [diff] [blame] | 16 | } |
[email protected] | 6717bf27 | 2012-05-11 23:31:25 | [diff] [blame] | 17 | |
[email protected] | 5092c28 | 2011-10-29 21:48:37 | [diff] [blame] | 18 | namespace extension_webkit_preferences { |
19 | |||||
[email protected] | 1c321ee | 2012-05-21 03:02:34 | [diff] [blame] | 20 | void SetPreferences(const extensions::Extension* extension, |
[email protected] | cb2edf2 | 2013-04-01 20:25:23 | [diff] [blame] | 21 | extensions::ViewType render_view_type, |
[email protected] | b3a97b5 | 2014-07-09 06:25:05 | [diff] [blame] | 22 | content::WebPreferences* webkit_prefs); |
[email protected] | 5092c28 | 2011-10-29 21:48:37 | [diff] [blame] | 23 | |
24 | } // namespace extension_webkit_preferences | ||||
25 | |||||
26 | #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_WEBKIT_PREFERENCES_H_ |