Origin Policy: Implement throttle and "plumbing" to the renderer.

This implements a throttle that will advertise origin policy
support to the server, and will request an policy if necessary.

(This CL doesn't do anything with the manifest yet. That is coming in
 subsequent CLs.)

Gated on --enable-features=OriginManifest.

Bug: 751996
Change-Id: I3ebfa834c29f3eb17568917d1eff83a9261529ac
Reviewed-on: https://chromium-review.googlesource.com/1088918
Commit-Queue: Daniel Vogelheim <[email protected]>
Reviewed-by: Alex Moshchuk <[email protected]>
Reviewed-by: Mike West <[email protected]>
Reviewed-by: Nick Harper <[email protected]>
Cr-Commit-Position: refs/heads/master@{#569582}
diff --git a/content/browser/BUILD.gn b/content/browser/BUILD.gn
index 6552c76..f45f4da 100644
--- a/content/browser/BUILD.gn
+++ b/content/browser/BUILD.gn
@@ -832,6 +832,8 @@
     "frame_host/navigator_delegate.h",
     "frame_host/navigator_impl.cc",
     "frame_host/navigator_impl.h",
+    "frame_host/origin_policy_throttle.cc",
+    "frame_host/origin_policy_throttle.h",
     "frame_host/popup_menu_helper_mac.h",
     "frame_host/popup_menu_helper_mac.mm",
     "frame_host/render_frame_host_delegate.cc",