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

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

Issue 2786673002: Separate ContentSettingsClient out from LocalFrameClient (Closed)
Patch Set: fix Created 3 years, 9 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.cpp
diff --git a/third_party/WebKit/Source/core/loader/EmptyClients.cpp b/third_party/WebKit/Source/core/loader/EmptyClients.cpp
index 812954ab5784a6d87007177d4d270daf8cdc54ab..0ac568a143637df62e3d8e1e3dffc5b87d76b0d9 100644
--- a/third_party/WebKit/Source/core/loader/EmptyClients.cpp
+++ b/third_party/WebKit/Source/core/loader/EmptyClients.cpp
@@ -28,6 +28,7 @@
#include "core/loader/EmptyClients.h"
#include <memory>
+#include "core/frame/ContentSettingsClient.h"
#include "core/frame/LocalFrame.h"
#include "core/frame/VisualViewport.h"
#include "core/html/HTMLFormElement.h"
@@ -195,6 +196,10 @@ EmptyLocalFrameClient::createServiceWorkerProvider() {
return nullptr;
}
+ContentSettingsClient* EmptyLocalFrameClient::contentSettingsClient() {
+ return new ContentSettingsClient();
dcheng 2017/04/02 05:26:19 It seems a little surprising that this creates a n
kinuko 2017/04/03 15:15:06 Oh yes, this was a tentative code I was going to f
+}
+
std::unique_ptr<WebApplicationCacheHost>
EmptyLocalFrameClient::createApplicationCacheHost(
WebApplicationCacheHostClient*) {

Powered by Google App Engine
This is Rietveld 408576698