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

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

Issue 2154233003: Rewrite YouTube Flash embeds (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments Created 4 years, 5 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 10
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 221
222 std::unique_ptr<blink::WebAppBannerClient> 222 std::unique_ptr<blink::WebAppBannerClient>
223 ContentRendererClient::CreateAppBannerClient(RenderFrame* render_frame) { 223 ContentRendererClient::CreateAppBannerClient(RenderFrame* render_frame) {
224 return nullptr; 224 return nullptr;
225 } 225 }
226 226
227 bool ContentRendererClient::ShouldEnforceWebRTCRoutingPreferences() { 227 bool ContentRendererClient::ShouldEnforceWebRTCRoutingPreferences() {
228 return true; 228 return true;
229 } 229 }
230 230
231 std::string ContentRendererClient::OverrideFlashEmbedWithHTML(
232 const std::string& url) {
233 return url;
mlamouri (slow - plz ping) 2016/07/21 15:55:07 Shouldn't it be the empty string?
kdsilva 2016/07/22 13:55:58 Done.
234 }
235
231 } // namespace content 236 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698