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_BROWSER_CONTENT_SETTINGS_DETAILS_H_ | 5 #ifndef COMPONENTS_CONTENT_SETTINGS_CORE_BROWSER_CONTENT_SETTINGS_DETAILS_H_ |
6 #define COMPONENTS_CONTENT_SETTINGS_CORE_BROWSER_CONTENT_SETTINGS_DETAILS_H_ | 6 #define COMPONENTS_CONTENT_SETTINGS_CORE_BROWSER_CONTENT_SETTINGS_DETAILS_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/macros.h" |
11 #include "components/content_settings/core/common/content_settings.h" | 11 #include "components/content_settings/core/common/content_settings.h" |
12 #include "components/content_settings/core/common/content_settings_pattern.h" | 12 #include "components/content_settings/core/common/content_settings_pattern.h" |
13 #include "components/content_settings/core/common/content_settings_types.h" | 13 #include "components/content_settings/core/common/content_settings_types.h" |
14 | 14 |
15 // Details for the CONTENT_SETTINGS_CHANGED notification. This is sent when | 15 // Details for the CONTENT_SETTINGS_CHANGED notification. This is sent when |
16 // content settings change for at least one host. If settings change for more | 16 // content settings change for at least one host. If settings change for more |
17 // than one pattern in one user interaction, this will usually send a single | 17 // than one pattern in one user interaction, this will usually send a single |
18 // notification with update_all() returning true instead of one notification | 18 // notification with update_all() returning true instead of one notification |
19 // for each pattern. | 19 // for each pattern. |
20 class ContentSettingsDetails { | 20 class ContentSettingsDetails { |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 private: | 58 private: |
59 ContentSettingsPattern primary_pattern_; | 59 ContentSettingsPattern primary_pattern_; |
60 ContentSettingsPattern secondary_pattern_; | 60 ContentSettingsPattern secondary_pattern_; |
61 ContentSettingsType type_; | 61 ContentSettingsType type_; |
62 std::string resource_identifier_; | 62 std::string resource_identifier_; |
63 | 63 |
64 DISALLOW_COPY_AND_ASSIGN(ContentSettingsDetails); | 64 DISALLOW_COPY_AND_ASSIGN(ContentSettingsDetails); |
65 }; | 65 }; |
66 | 66 |
67 #endif // COMPONENTS_CONTENT_SETTINGS_CORE_BROWSER_CONTENT_SETTINGS_DETAILS_H_ | 67 #endif // COMPONENTS_CONTENT_SETTINGS_CORE_BROWSER_CONTENT_SETTINGS_DETAILS_H_ |
OLD | NEW |