Revert "🤝 Use Origin class for canonically representing origins."
This reverts commit ebe5bdf8. Reason for revert: Official build breakage Original change's description: >🤝 Use Origin class for canonically representing origins. > > Constructing origins manually and storing them in Urls is error-prone > (eg the port could be missed out) and there are discrepancies in how > the origin could be formed (eg GURLUtils has a trailing '/' while > current manually formed origins don't). This is especially important as > origins are critical to security. > > This CL creats an Origin class that offloads all the heavy lifting to > the well tested native origin class and allows the type system to > prevent the errors listed above. > > Bug: 800422 > Change-Id: I87759ea12a87f2b57bbdf40994d35ec468a43cff > Reviewed-on: https://chromium-review.googlesource.com/934289 > Commit-Queue: Peter Conn <peconn@chromium.org> > Reviewed-by: Bernhard Bauer <bauerb@chromium.org> > Cr-Commit-Position: refs/heads/master@{#540825} TBR=bauerb@chromium.org,peconn@chromium.org Change-Id: I1858f3b2ca308a4f5627832f8203a96bda9ad5bc No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: 800422 Reviewed-on: https://chromium-review.googlesource.com/949223Reviewed-by:Alexandr Ilin <alexilin@chromium.org> Commit-Queue: Alexandr Ilin <alexilin@chromium.org> Cr-Commit-Position: refs/heads/master@{#540849}
Showing
Please register or sign in to comment