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

Side by Side Diff: content/public/renderer/content_renderer_client.cc

Issue 1181493002: [Patch 3 of 6] Split out content/child's SiteIsolationPolicy into two new classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@rename_policy_to_sniffer2
Patch Set: Add crbug. Created 5 years, 6 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 #include "content/public/renderer/content_renderer_client.h" 5 #include "content/public/renderer/content_renderer_client.h"
6 6
7 #include "content/public/renderer/media_stream_renderer_factory.h" 7 #include "content/public/renderer/media_stream_renderer_factory.h"
8 #include "media/base/renderer_factory.h" 8 #include "media/base/renderer_factory.h"
9 #include "third_party/WebKit/public/platform/modules/app_banner/WebAppBannerClie nt.h" 9 #include "third_party/WebKit/public/platform/modules/app_banner/WebAppBannerClie nt.h"
10 #include "third_party/WebKit/public/web/WebPluginPlaceholder.h" 10 #include "third_party/WebKit/public/web/WebPluginPlaceholder.h"
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 scoped_ptr<MediaStreamRendererFactory> 181 scoped_ptr<MediaStreamRendererFactory>
182 ContentRendererClient::CreateMediaStreamRendererFactory() { 182 ContentRendererClient::CreateMediaStreamRendererFactory() {
183 return nullptr; 183 return nullptr;
184 } 184 }
185 185
186 bool ContentRendererClient::ShouldReportDetailedMessageForSource( 186 bool ContentRendererClient::ShouldReportDetailedMessageForSource(
187 const base::string16& source) const { 187 const base::string16& source) const {
188 return false; 188 return false;
189 } 189 }
190 190
191 bool ContentRendererClient::ShouldEnableSiteIsolationPolicy() const { 191 bool ContentRendererClient::ShouldGatherSiteIsolationStats() const {
192 return true; 192 return true;
193 } 193 }
194 194
195 blink::WebWorkerContentSettingsClientProxy* 195 blink::WebWorkerContentSettingsClientProxy*
196 ContentRendererClient::CreateWorkerContentSettingsClientProxy( 196 ContentRendererClient::CreateWorkerContentSettingsClientProxy(
197 RenderFrame* render_frame, blink::WebFrame* frame) { 197 RenderFrame* render_frame, blink::WebFrame* frame) {
198 return nullptr; 198 return nullptr;
199 } 199 }
200 200
201 bool ContentRendererClient::IsPluginAllowedToUseCameraDeviceAPI( 201 bool ContentRendererClient::IsPluginAllowedToUseCameraDeviceAPI(
(...skipping 19 matching lines...) Expand all
221 std::string ContentRendererClient::GetUserAgentOverrideForURL(const GURL& url) { 221 std::string ContentRendererClient::GetUserAgentOverrideForURL(const GURL& url) {
222 return std::string(); 222 return std::string();
223 } 223 }
224 224
225 scoped_ptr<blink::WebAppBannerClient> 225 scoped_ptr<blink::WebAppBannerClient>
226 ContentRendererClient::CreateAppBannerClient(RenderFrame* render_frame) { 226 ContentRendererClient::CreateAppBannerClient(RenderFrame* render_frame) {
227 return nullptr; 227 return nullptr;
228 } 228 }
229 229
230 } // namespace content 230 } // namespace content
OLDNEW
« no previous file with comments | « content/public/renderer/content_renderer_client.h ('k') | content/renderer/render_process_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698