1. 16 Sep, 2016 1 commit
    • rockot's avatar
      Corrects mojom::RouteProvider registration in ChildThreadImpl · fd3d9084
      rockot authored
      We still have one instance where ChildThreadImpl is used without
      ChannelMojo (utility processes launched by a service process),
      causing a nullptr dereference in ChannelProxy when trying to add
      the associated interface.
      
      This CL replaces a DCHECK with a branch to avoid the crash, since
      silently ignoring the call is safe and reasonable.
      
      In examining this bug I also realized that ChildThreadImpl was
      incorrectly adding the RouteProvider interface after Channel
      connection, which is only safe to do in the browser, where the
      remote endpoint hasn't been launched yet. So this CL fixes that
      too, and clarifies the documentation in ipc_channel_proxy.h.
      
      BUG=647251
      R=jam@chromium.org
      
      Review-Url: https://codereview.chromium.org/2343783003
      Cr-Commit-Position: refs/heads/master@{#419043}
      fd3d9084
  2. 15 Sep, 2016 39 commits