OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 #include "chrome/browser/content_settings/content_settings_internal_extension_pr
ovider.h" | 5 #include "chrome/browser/content_settings/content_settings_internal_extension_pr
ovider.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
| 9 #include "base/macros.h" |
7 #include "chrome/browser/pdf/pdf_extension_util.h" | 10 #include "chrome/browser/pdf/pdf_extension_util.h" |
8 #include "chrome/browser/profiles/profile.h" | 11 #include "chrome/browser/profiles/profile.h" |
9 #include "chrome/common/chrome_content_client.h" | 12 #include "chrome/common/chrome_content_client.h" |
10 #include "chrome/common/extensions/api/plugins/plugins_handler.h" | 13 #include "chrome/common/extensions/api/plugins/plugins_handler.h" |
11 #include "components/content_settings/core/browser/content_settings_rule.h" | 14 #include "components/content_settings/core/browser/content_settings_rule.h" |
12 #include "components/content_settings/core/common/content_settings.h" | 15 #include "components/content_settings/core/common/content_settings.h" |
13 #include "components/content_settings/core/common/content_settings_pattern.h" | 16 #include "components/content_settings/core/common/content_settings_pattern.h" |
14 #include "content/public/browser/notification_details.h" | 17 #include "content/public/browser/notification_details.h" |
15 #include "content/public/browser/notification_service.h" | 18 #include "content/public/browser/notification_service.h" |
16 #include "extensions/browser/extension_host.h" | 19 #include "extensions/browser/extension_host.h" |
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
215 new base::FundamentalValue(setting)); | 218 new base::FundamentalValue(setting)); |
216 } | 219 } |
217 } | 220 } |
218 NotifyObservers(primary_pattern, | 221 NotifyObservers(primary_pattern, |
219 secondary_pattern, | 222 secondary_pattern, |
220 CONTENT_SETTINGS_TYPE_PLUGINS, | 223 CONTENT_SETTINGS_TYPE_PLUGINS, |
221 resource); | 224 resource); |
222 } | 225 } |
223 | 226 |
224 } // namespace content_settings | 227 } // namespace content_settings |
OLD | NEW |