Descriptioncustomtabs: 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.
Committed: https://crrev.com/475d09792533426eef213af553019eb543b1abbc
Cr-Commit-Position: refs/heads/master@{#351146}
Patch Set 1 #Patch Set 2 : Remove a private method used only once. #
Total comments: 21
Patch Set 3 : Address comments. #Patch Set 4 : . #Patch Set 5 : . #Patch Set 6 : Quiet, Findbugs! #
Messages
Total messages: 16 (5 generated)
|