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_CONTENT_SETTINGS_CONTENT_SETTINGS_UTILS_H_ | 5 #ifndef CHROME_BROWSER_CONTENT_SETTINGS_CONTENT_SETTINGS_UTILS_H_ |
6 #define CHROME_BROWSER_CONTENT_SETTINGS_CONTENT_SETTINGS_UTILS_H_ | 6 #define CHROME_BROWSER_CONTENT_SETTINGS_CONTENT_SETTINGS_UTILS_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <utility> | 9 #include <utility> |
10 | 10 |
11 #include "chrome/common/content_settings.h" | 11 #include "chrome/common/content_settings.h" |
12 #include "chrome/common/content_settings_pattern.h" | 12 #include "chrome/common/content_settings_pattern.h" |
13 #include "chrome/common/content_settings_types.h" | 13 #include "components/content_settings/core/common/content_settings_types.h" |
14 | 14 |
15 namespace base { | 15 namespace base { |
16 class Value; | 16 class Value; |
17 } | 17 } |
18 | 18 |
19 class GURL; | 19 class GURL; |
20 class HostContentSettingsMap; | 20 class HostContentSettingsMap; |
21 | 21 |
22 namespace content_settings { | 22 namespace content_settings { |
23 | 23 |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 bool include_incognito); | 81 bool include_incognito); |
82 | 82 |
83 // Populates |rules| with content setting rules for content types that are | 83 // Populates |rules| with content setting rules for content types that are |
84 // handled by the renderer. | 84 // handled by the renderer. |
85 void GetRendererContentSettingRules(const HostContentSettingsMap* map, | 85 void GetRendererContentSettingRules(const HostContentSettingsMap* map, |
86 RendererContentSettingRules* rules); | 86 RendererContentSettingRules* rules); |
87 | 87 |
88 } // namespace content_settings | 88 } // namespace content_settings |
89 | 89 |
90 #endif // CHROME_BROWSER_CONTENT_SETTINGS_CONTENT_SETTINGS_UTILS_H_ | 90 #endif // CHROME_BROWSER_CONTENT_SETTINGS_CONTENT_SETTINGS_UTILS_H_ |
OLD | NEW |