Convert quota_messages.h from IPC to Mojo

* Convert the IPC file to mojom, and update callers to use mojo
* Add type maps for QuotaStatusCode and StorageType
* Remove QuotaMessageFilter and browser filter registration, replacing
  with mojo registration instead
* Remove request_id, which was used to keep track of which requests
  matched to which callbacks via IPC

Future work:
* Change int to uint in parameters, since storage should all use uint
* Change callback parameters to be base::Optional, only set on success
* Move the API to be from frames and workers (execution context)
  rather than the entire renderer process
* Remove storage::QuotaStatusCode and storage::StorageType from the rest
  of the code, using mojo types instead
* Remove pending_quota_callbacks_, since mojo can pass these callbacks
  around as parameters. May need to wait on a patch that allows mojo to
  execute a method when a callback is dropped
* Remove request_id from StorageQuotaParams, since it was needed for IPC
  but is not needed with mojo
* Change origin_url to be a url.mojom.Origin, rather than url.mojom.Url

Bug: 781643
Change-Id: I366935d0b2410056f350ff4dfe3bbddf4b56aa5d
Reviewed-on: https://chromium-review.googlesource.com/778583
Commit-Queue: Sasha Morrissey <sashab@chromium.org>
Reviewed-by: Mustafa Emre Acer <meacer@chromium.org>
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Reviewed-by: John Abd-El-Malek <jam@chromium.org>
Reviewed-by: Sam McNally <sammc@chromium.org>
Cr-Commit-Position: refs/heads/master@{#519988}

CrOS-Libchrome-Original-Commit: 9a3f9da13aeb8d0e0e485d397ff6c609709ced31
1 file changed
tree: c98737e77cdce70070b5c15f7395a1b3e2f1ad5a
  1. base/
  2. build/
  3. components/
  4. dbus/
  5. device/
  6. ipc/
  7. mojo/
  8. testing/
  9. third_party/
  10. ui/