OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_RENDERER_CONTENT_SETTINGS_OBSERVER_H_ | 5 #ifndef CHROME_RENDERER_CONTENT_SETTINGS_OBSERVER_H_ |
6 #define CHROME_RENDERER_CONTENT_SETTINGS_OBSERVER_H_ | 6 #define CHROME_RENDERER_CONTENT_SETTINGS_OBSERVER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
11 #include <unordered_map> | 11 #include <unordered_map> |
12 #include <utility> | 12 #include <utility> |
13 | 13 |
14 #include "base/gtest_prod_util.h" | 14 #include "base/gtest_prod_util.h" |
15 #include "chrome/common/insecure_content_renderer.mojom.h" | 15 #include "chrome/common/insecure_content_renderer.mojom.h" |
16 #include "components/content_settings/core/common/content_settings.h" | 16 #include "components/content_settings/core/common/content_settings.h" |
17 #include "components/content_settings/core/common/content_settings_types.h" | 17 #include "components/content_settings/core/common/content_settings_types.h" |
18 #include "content/public/renderer/render_frame_observer.h" | 18 #include "content/public/renderer/render_frame_observer.h" |
19 #include "content/public/renderer/render_frame_observer_tracker.h" | 19 #include "content/public/renderer/render_frame_observer_tracker.h" |
20 #include "extensions/features/features.h" | 20 #include "extensions/features/features.h" |
21 #include "mojo/public/cpp/bindings/binding_set.h" | 21 #include "mojo/public/cpp/bindings/binding_set.h" |
22 #include "third_party/WebKit/public/web/WebContentSettingsClient.h" | 22 #include "third_party/WebKit/public/platform/WebContentSettingsClient.h" |
23 #include "url/gurl.h" | 23 #include "url/gurl.h" |
24 | 24 |
25 namespace blink { | 25 namespace blink { |
26 class WebFrame; | 26 class WebFrame; |
27 class WebSecurityOrigin; | 27 class WebSecurityOrigin; |
28 class WebURL; | 28 class WebURL; |
29 } | 29 } |
30 | 30 |
31 namespace extensions { | 31 namespace extensions { |
32 class Dispatcher; | 32 class Dispatcher; |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
168 // If true, IsWhitelistedForContentSettings will always return true. | 168 // If true, IsWhitelistedForContentSettings will always return true. |
169 const bool should_whitelist_; | 169 const bool should_whitelist_; |
170 | 170 |
171 mojo::BindingSet<chrome::mojom::InsecureContentRenderer> | 171 mojo::BindingSet<chrome::mojom::InsecureContentRenderer> |
172 insecure_content_renderer_bindings_; | 172 insecure_content_renderer_bindings_; |
173 | 173 |
174 DISALLOW_COPY_AND_ASSIGN(ContentSettingsObserver); | 174 DISALLOW_COPY_AND_ASSIGN(ContentSettingsObserver); |
175 }; | 175 }; |
176 | 176 |
177 #endif // CHROME_RENDERER_CONTENT_SETTINGS_OBSERVER_H_ | 177 #endif // CHROME_RENDERER_CONTENT_SETTINGS_OBSERVER_H_ |
OLD | NEW |