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

Unified Diff: net/base/network_delegate_impl.h

Issue 2891133003: Reporting: Wire ReportingDelegate into ChromeNetworkDelegate (Closed)
Patch Set: Created 3 years, 7 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 | « net/base/network_delegate.cc ('k') | net/base/network_delegate_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/network_delegate_impl.h
diff --git a/net/base/network_delegate_impl.h b/net/base/network_delegate_impl.h
index a46942a51296b5d6ee45c0cefeb0b756bd749bb7..16f2d6032fb3b7d9196326b745f6841654c43395 100644
--- a/net/base/network_delegate_impl.h
+++ b/net/base/network_delegate_impl.h
@@ -20,6 +20,10 @@ namespace base {
class FilePath;
}
+namespace url {
+class Origin;
+}
+
namespace net {
class CookieOptions;
@@ -98,6 +102,16 @@ class NET_EXPORT NetworkDelegateImpl : public NetworkDelegate {
const URLRequest& request,
const GURL& target_url,
const GURL& referrer_url) const override;
+
+ bool OnCanQueueReportingReport(const url::Origin& origin) const override;
+
+ bool OnCanSendReportingReport(const url::Origin& origin) const override;
+
+ bool OnCanSetReportingClient(const url::Origin& origin,
+ const GURL& endpoint) const override;
+
+ bool OnCanUseReportingClient(const url::Origin& origin,
+ const GURL& endpoint) const override;
};
} // namespace net
« no previous file with comments | « net/base/network_delegate.cc ('k') | net/base/network_delegate_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698