| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_USAGES_STATE_H
_ | 5 #ifndef COMPONENTS_CONTENT_SETTINGS_CORE_BROWSER_CONTENT_SETTINGS_USAGES_STATE_H
_ |
| 6 #define COMPONENTS_CONTENT_SETTINGS_CORE_BROWSER_CONTENT_SETTINGS_USAGES_STATE_H
_ | 6 #define COMPONENTS_CONTENT_SETTINGS_CORE_BROWSER_CONTENT_SETTINGS_USAGES_STATE_H
_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <set> | 9 #include <set> |
| 10 | 10 |
| 11 #include "base/macros.h" |
| 11 #include "components/content_settings/core/common/content_settings.h" | 12 #include "components/content_settings/core/common/content_settings.h" |
| 12 #include "components/content_settings/core/common/content_settings_types.h" | 13 #include "components/content_settings/core/common/content_settings_types.h" |
| 13 #include "url/gurl.h" | 14 #include "url/gurl.h" |
| 14 | 15 |
| 15 class HostContentSettingsMap; | 16 class HostContentSettingsMap; |
| 16 class PrefService; | 17 class PrefService; |
| 17 | 18 |
| 18 // This class manages a content setting state per tab for a given | 19 // This class manages a content setting state per tab for a given |
| 19 // |ContentSettingsType|, and provides information and presentation data about | 20 // |ContentSettingsType|, and provides information and presentation data about |
| 20 // the content setting usage. | 21 // the content setting usage. |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 PrefService* const pref_service_; | 78 PrefService* const pref_service_; |
| 78 std::string accept_language_pref_; | 79 std::string accept_language_pref_; |
| 79 ContentSettingsType type_; | 80 ContentSettingsType type_; |
| 80 StateMap state_map_; | 81 StateMap state_map_; |
| 81 GURL embedder_url_; | 82 GURL embedder_url_; |
| 82 | 83 |
| 83 DISALLOW_COPY_AND_ASSIGN(ContentSettingsUsagesState); | 84 DISALLOW_COPY_AND_ASSIGN(ContentSettingsUsagesState); |
| 84 }; | 85 }; |
| 85 | 86 |
| 86 #endif // COMPONENTS_CONTENT_SETTINGS_CORE_BROWSER_CONTENT_SETTINGS_USAGES_STAT
E_H_ | 87 #endif // COMPONENTS_CONTENT_SETTINGS_CORE_BROWSER_CONTENT_SETTINGS_USAGES_STAT
E_H_ |
| OLD | NEW |