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

Unified Diff: third_party/WebKit/Source/core/loader/EmptyClients.h

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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/loader/EmptyClients.h
diff --git a/third_party/WebKit/Source/core/loader/EmptyClients.h b/third_party/WebKit/Source/core/loader/EmptyClients.h
index 72b4525e127bc526271215ed5030ce6d55328d8d..a07098e708e0d7a849d646c506d6ff82bd86a0f8 100644
--- a/third_party/WebKit/Source/core/loader/EmptyClients.h
+++ b/third_party/WebKit/Source/core/loader/EmptyClients.h
@@ -183,6 +183,9 @@ public:
class CORE_EXPORT EmptyFrameLoaderClient : public FrameLoaderClient {
WTF_MAKE_NONCOPYABLE(EmptyFrameLoaderClient);
public:
+
+ String OverrideFlashEmbedWithHTML(const String& url) override { return url; }
mlamouri (slow - plz ping) 2016/07/21 15:55:08 empty string?
kdsilva 2016/07/22 13:55:58 Done.
+
static EmptyFrameLoaderClient* create() { return new EmptyFrameLoaderClient; }
~EmptyFrameLoaderClient() override {}

Powered by Google App Engine
This is Rietveld 408576698