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_COMMON_CONTENT_SETTINGS_H_ | 5 #ifndef CHROME_COMMON_CONTENT_SETTINGS_H_ |
6 #define CHROME_COMMON_CONTENT_SETTINGS_H_ | 6 #define CHROME_COMMON_CONTENT_SETTINGS_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 ContentSettingPatternSource(); | 44 ContentSettingPatternSource(); |
45 ContentSettingsPattern primary_pattern; | 45 ContentSettingsPattern primary_pattern; |
46 ContentSettingsPattern secondary_pattern; | 46 ContentSettingsPattern secondary_pattern; |
47 ContentSetting setting; | 47 ContentSetting setting; |
48 std::string source; | 48 std::string source; |
49 bool incognito; | 49 bool incognito; |
50 }; | 50 }; |
51 | 51 |
52 typedef std::vector<ContentSettingPatternSource> ContentSettingsForOneType; | 52 typedef std::vector<ContentSettingPatternSource> ContentSettingsForOneType; |
53 | 53 |
| 54 struct RendererContentSettingRules { |
| 55 RendererContentSettingRules(); |
| 56 ~RendererContentSettingRules(); |
| 57 ContentSettingsForOneType image_rules; |
| 58 ContentSettingsForOneType script_rules; |
| 59 }; |
| 60 |
54 #endif // CHROME_COMMON_CONTENT_SETTINGS_H_ | 61 #endif // CHROME_COMMON_CONTENT_SETTINGS_H_ |
OLD | NEW |