Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(285)

Side by Side Diff: chrome/renderer/content_settings_observer.h

Issue 2786673002: Separate ContentSettingsClient out from LocalFrameClient (Closed)
Patch Set: added class-level comment Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « android_webview/renderer/aw_content_settings_client.h ('k') | content/shell/test_runner/mock_content_settings_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698