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 COMPONENTS_CONTENT_SETTINGS_CORE_COMMON_CONTENT_SETTINGS_H_ | 5 #ifndef COMPONENTS_CONTENT_SETTINGS_CORE_COMMON_CONTENT_SETTINGS_H_ |
6 #define COMPONENTS_CONTENT_SETTINGS_CORE_COMMON_CONTENT_SETTINGS_H_ | 6 #define COMPONENTS_CONTENT_SETTINGS_CORE_COMMON_CONTENT_SETTINGS_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include <string> | 10 #include <string> |
9 #include <vector> | 11 #include <vector> |
10 | 12 |
11 #include "components/content_settings/core/common/content_settings_pattern.h" | 13 #include "components/content_settings/core/common/content_settings_pattern.h" |
12 #include "components/content_settings/core/common/content_settings_types.h" | 14 #include "components/content_settings/core/common/content_settings_types.h" |
13 | 15 |
14 // Different settings that can be assigned for a particular content type. We | 16 // Different settings that can be assigned for a particular content type. We |
15 // give the user the ability to set these on a global and per-origin basis. | 17 // give the user the ability to set these on a global and per-origin basis. |
16 // A Java counterpart will be generated for this enum. | 18 // A Java counterpart will be generated for this enum. |
17 // GENERATED_JAVA_ENUM_PACKAGE: org.chromium.chrome.browser.preferences.website | 19 // GENERATED_JAVA_ENUM_PACKAGE: org.chromium.chrome.browser.preferences.website |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 // contains the patterns of the appling rule. | 82 // contains the patterns of the appling rule. |
81 struct SettingInfo { | 83 struct SettingInfo { |
82 SettingSource source; | 84 SettingSource source; |
83 ContentSettingsPattern primary_pattern; | 85 ContentSettingsPattern primary_pattern; |
84 ContentSettingsPattern secondary_pattern; | 86 ContentSettingsPattern secondary_pattern; |
85 }; | 87 }; |
86 | 88 |
87 } // namespace content_settings | 89 } // namespace content_settings |
88 | 90 |
89 #endif // COMPONENTS_CONTENT_SETTINGS_CORE_COMMON_CONTENT_SETTINGS_H_ | 91 #endif // COMPONENTS_CONTENT_SETTINGS_CORE_COMMON_CONTENT_SETTINGS_H_ |
OLD | NEW |