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 CHROME_BROWSER_CONTENT_SETTINGS_CONTENT_SETTINGS_USAGES_STATE_H_ | 5 #ifndef CHROME_BROWSER_CONTENT_SETTINGS_CONTENT_SETTINGS_USAGES_STATE_H_ |
6 #define CHROME_BROWSER_CONTENT_SETTINGS_CONTENT_SETTINGS_USAGES_STATE_H_ | 6 #define CHROME_BROWSER_CONTENT_SETTINGS_CONTENT_SETTINGS_USAGES_STATE_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 | 10 |
11 #include "chrome/common/content_settings.h" | 11 #include "chrome/common/content_settings.h" |
12 #include "chrome/common/content_settings_types.h" | 12 #include "components/content_settings/core/common/content_settings_types.h" |
13 #include "url/gurl.h" | 13 #include "url/gurl.h" |
14 | 14 |
15 class Profile; | 15 class Profile; |
16 | 16 |
17 namespace content { | 17 namespace content { |
18 struct LoadCommittedDetails; | 18 struct LoadCommittedDetails; |
19 } | 19 } |
20 | 20 |
21 // This class manages a content setting state per tab for a given | 21 // This class manages a content setting state per tab for a given |
22 // |ContentSettingsType|, and provides information and presentation data about | 22 // |ContentSettingsType|, and provides information and presentation data about |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 | 65 |
66 Profile* profile_; | 66 Profile* profile_; |
67 ContentSettingsType type_; | 67 ContentSettingsType type_; |
68 StateMap state_map_; | 68 StateMap state_map_; |
69 GURL embedder_url_; | 69 GURL embedder_url_; |
70 | 70 |
71 DISALLOW_COPY_AND_ASSIGN(ContentSettingsUsagesState); | 71 DISALLOW_COPY_AND_ASSIGN(ContentSettingsUsagesState); |
72 }; | 72 }; |
73 | 73 |
74 #endif // CHROME_BROWSER_CONTENT_SETTINGS_CONTENT_SETTINGS_USAGES_STATE_H_ | 74 #endif // CHROME_BROWSER_CONTENT_SETTINGS_CONTENT_SETTINGS_USAGES_STATE_H_ |
OLD | NEW |