Index: content/public/browser/content_browser_client.h |
diff --git a/content/public/browser/content_browser_client.h b/content/public/browser/content_browser_client.h |
index 39316c322bee54b716ddf62f3a5bba1058931a69..03987593c0f75aa0d99b78d268ef8d5fcf21af82 100644 |
--- a/content/public/browser/content_browser_client.h |
+++ b/content/public/browser/content_browser_client.h |
@@ -112,6 +112,7 @@ class BrowserMainParts; |
class BrowserPpapiHost; |
class BrowserURLHandler; |
class ClientCertificateDelegate; |
+class ConnectionFilter; |
class DevToolsManagerDelegate; |
class GpuProcessHost; |
class MediaObserver; |
@@ -707,6 +708,11 @@ class CONTENT_EXPORT ContentBrowserClient { |
virtual void RegisterUnsandboxedOutOfProcessServices( |
OutOfProcessServiceMap* services) {} |
+ using ConnectionFilterList = std::vector<std::unique_ptr<ConnectionFilter>>; |
+ |
+ // Adds ConnectionFilters for incoming requests. |
+ virtual void AddConnectionFilters(ConnectionFilterList* filters) {} |
+ |
// Allow the embedder to provide a dictionary loaded from a JSON file |
// resembling a service manifest whose capabilities section will be merged |
// with content's own for |name|. Additional entries will be appended to their |