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

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

Issue 2786673002: Separate ContentSettingsClient out from LocalFrameClient (Closed)
Patch Set: dchecks 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 977d16b07fcf8cc20892c8c0429654784c948cb3..40ce2d1f2700cd6041dfc77ab6558f07babdc326 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"
@@ -190,6 +191,10 @@ EmptyLocalFrameClient::createServiceWorkerProvider() {
return nullptr;
}
+ContentSettingsClient& EmptyLocalFrameClient::contentSettingsClient() {
+ return m_contentSettingsClient;
+}
+
std::unique_ptr<WebApplicationCacheHost>
EmptyLocalFrameClient::createApplicationCacheHost(
WebApplicationCacheHostClient*) {

Powered by Google App Engine
This is Rietveld 408576698