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

Unified Diff: third_party/WebKit/public/platform/WebDocumentSubresourceFilter.h

Issue 2022783002: Skeleton of the Safe Browsing Subresource Filter. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Implement RenderFrameObserver::OnDestruct introduced by rebase. Created 4 years, 6 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
« no previous file with comments | « third_party/WebKit/public/blink_headers.gypi ('k') | third_party/WebKit/public/web/WebDataSource.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/platform/WebDocumentSubresourceFilter.h
diff --git a/third_party/WebKit/public/platform/WebDocumentSubresourceFilter.h b/third_party/WebKit/public/platform/WebDocumentSubresourceFilter.h
new file mode 100644
index 0000000000000000000000000000000000000000..14e6f369d32d2c75517793503753b55c03d81a71
--- /dev/null
+++ b/third_party/WebKit/public/platform/WebDocumentSubresourceFilter.h
@@ -0,0 +1,22 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef WebDocumentSubresourceFilter_h
+#define WebDocumentSubresourceFilter_h
+
+#include "public/platform/WebURLRequest.h"
+
+namespace blink {
+
+class WebURL;
+
+class WebDocumentSubresourceFilter {
+public:
+ virtual ~WebDocumentSubresourceFilter() {}
+ virtual bool allowLoad(const WebURL& resourceUrl, WebURLRequest::RequestContext) = 0;
+};
+
+} // namespace blink
+
+#endif // WebDocumentSubresourceFilter_h
« no previous file with comments | « third_party/WebKit/public/blink_headers.gypi ('k') | third_party/WebKit/public/web/WebDataSource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698