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

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

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.h
diff --git a/third_party/WebKit/Source/core/loader/EmptyClients.h b/third_party/WebKit/Source/core/loader/EmptyClients.h
index 81fa4ed2bf6923acd2888aef65da3f9efcc70e66..57d7a7ba6b3743f872f5eb56116715a5100902e8 100644
--- a/third_party/WebKit/Source/core/loader/EmptyClients.h
+++ b/third_party/WebKit/Source/core/loader/EmptyClients.h
@@ -32,6 +32,7 @@
#include <memory>
#include "core/CoreExport.h"
+#include "core/frame/ContentSettingsClient.h"
#include "core/frame/LocalFrameClient.h"
#include "core/frame/RemoteFrameClient.h"
#include "core/page/ChromeClient.h"
@@ -366,11 +367,14 @@ class CORE_EXPORT EmptyLocalFrameClient : public LocalFrameClient {
std::unique_ptr<WebServiceWorkerProvider> createServiceWorkerProvider()
override;
+ ContentSettingsClient& contentSettingsClient() override;
std::unique_ptr<WebApplicationCacheHost> createApplicationCacheHost(
WebApplicationCacheHostClient*) override;
protected:
EmptyLocalFrameClient() {}
+
+ ContentSettingsClient m_contentSettingsClient;
};
class CORE_EXPORT EmptyTextCheckerClient : public TextCheckerClient {

Powered by Google App Engine
This is Rietveld 408576698