Apply NIK to reporting and NEL, part 5.

Add NetworkIsolationKey to Network Error Logging policies.

This CL modifies the NelPolicy struct representing a NEL policy, by
replacing the origin field with a (NetworkIsolationKey, origin) tuple.
The policies are stored in the NetworkErrorLoggingService map of
policies by this new key, instead of just origin.

Bug: 993805
TBR: [email protected]
Change-Id: If5e8d61aec8cf6325e2cf707b12e5b5a79fb67a9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2485531
Commit-Queue: Matt Menke <[email protected]>
Reviewed-by: Lily Chen <[email protected]>
Cr-Commit-Position: refs/heads/master@{#819812}
diff --git a/net/reporting/reporting_test_util.cc b/net/reporting/reporting_test_util.cc
index a3418fd..2128f58 100644
--- a/net/reporting/reporting_test_util.cc
+++ b/net/reporting/reporting_test_util.cc
@@ -291,13 +291,7 @@
 
 TestReportingService::Report::Report() = default;
 
-TestReportingService::Report::Report(Report&& other)
-    : url(other.url),
-      user_agent(other.user_agent),
-      group(other.group),
-      type(other.type),
-      body(std::move(other.body)),
-      depth(other.depth) {}
+TestReportingService::Report::Report(Report&& other) = default;
 
 TestReportingService::Report::Report(
     const GURL& url,