Commit 475d0979 authored by lizeb's avatar lizeb Committed by Commit bot

customtabs: Refactor CustomTabsConnection to simplify locking.

This refactoring of CustomTabsConnection has two benefits:
- Move the client and session handling logic away from CustomTabsConnection.
- Simplify locking in CustomTabsConnection, as it is all handled by
  ClientManager.

Some methods in CustomTabsConnection are now simple pass-through. These
will be removed in a subsequent CL. Leaving these here means that no
test code is affected.

Review URL: https://codereview.chromium.org/1370473002

Cr-Commit-Position: refs/heads/master@{#351146}
parent 70e884bc
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment