Add dependency on //mojo/public/interfaces/bindings:bindings to
//ipc:mojom.

Now that the internal mojo bindings is a component target
(see cr/893655) ipc.mojom can safely import
//mojo/public/interfaces/bindings/native_struct.mojom and depend
on //mojo/public/interfaces/bindings:bindings.

The duplicated SerializedHandle definition in //ipc/ipc.mojom
can now be reverted.

Change-Id: I78288b86bd08ac2af2a75cf83f5b033dde4e4aa4
Reviewed-on: https://chromium-review.googlesource.com/913070
Reviewed-by: Tom Sepez <[email protected]>
Reviewed-by: Ken Rockot <[email protected]>
Commit-Queue: Eve Martin-Jones <[email protected]>
Cr-Commit-Position: refs/heads/master@{#536531}
diff --git a/ipc/ipc_message_pipe_reader.h b/ipc/ipc_message_pipe_reader.h
index de635c2..77dd9ee 100644
--- a/ipc/ipc_message_pipe_reader.h
+++ b/ipc/ipc_message_pipe_reader.h
@@ -95,9 +95,9 @@
  private:
   // mojom::Channel:
   void SetPeerPid(int32_t peer_pid) override;
-  void Receive(
-      base::span<const uint8_t> data,
-      base::Optional<std::vector<mojom::SerializedHandlePtr>> handles) override;
+  void Receive(base::span<const uint8_t> data,
+               base::Optional<std::vector<mojo::native::SerializedHandlePtr>>
+                   handles) override;
   void GetAssociatedInterface(
       const std::string& name,
       mojom::GenericInterfaceAssociatedRequest request) override;