Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(925)

Issue 2855323003: Removed the service number member from BaseChildProcessConnection. (Closed)

Created:
3 years, 7 months ago by Jay Civelli
Modified:
3 years, 7 months ago
Reviewers:
boliu
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, Peter Beverloo, jam, darin-cc_chromium.org, agrieve+watch_chromium.org, jochen+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Removed the service number member from BaseChildProcessConnection. In preparation for making the ChildProcessConnection simpler, removing the service number member from BaseChildProcessConnection. It is pertaining to the allocator, not the connection. Also replaced the LruCache used for the moderate binding pool in BindingManagerImpl (which was relying on the service number from the connection) with a LinkedList. It makes the code clearer since we were only using the LruCache to evict old connections, not the cache part. BUG=689758 Review-Url: https://codereview.chromium.org/2855323003 Cr-Commit-Position: refs/heads/master@{#469452} Committed: https://chromium.googlesource.com/chromium/src/+/643ad22bbc6337e430f0108db6f4677499d897e8

Patch Set 1 : Removed the slot parameter from BaseChildProcessConnection. #

Total comments: 10

Patch Set 2 : Addressed boliu@'s comments. #

Patch Set 3 : Minor clean-up #

Messages

Total messages: 25 (19 generated)
Jay Civelli
3 years, 7 months ago (2017-05-04 15:52:58 UTC) #12
boliu
https://codereview.chromium.org/2855323003/diff/20001/content/public/android/java/src/org/chromium/content/browser/BindingManagerImpl.java File content/public/android/java/src/org/chromium/content/browser/BindingManagerImpl.java (right): https://codereview.chromium.org/2855323003/diff/20001/content/public/android/java/src/org/chromium/content/browser/BindingManagerImpl.java#newcode44 content/public/android/java/src/org/chromium/content/browser/BindingManagerImpl.java:44: private final LinkedList<ManagedConnection> mConnections = new LinkedList<>(); comment this ...
3 years, 7 months ago (2017-05-04 18:35:02 UTC) #14
Jay Civelli
https://codereview.chromium.org/2855323003/diff/20001/content/public/android/java/src/org/chromium/content/browser/BindingManagerImpl.java File content/public/android/java/src/org/chromium/content/browser/BindingManagerImpl.java (right): https://codereview.chromium.org/2855323003/diff/20001/content/public/android/java/src/org/chromium/content/browser/BindingManagerImpl.java#newcode44 content/public/android/java/src/org/chromium/content/browser/BindingManagerImpl.java:44: private final LinkedList<ManagedConnection> mConnections = new LinkedList<>(); On 2017/05/04 ...
3 years, 7 months ago (2017-05-04 19:31:49 UTC) #15
boliu
lgtm
3 years, 7 months ago (2017-05-04 19:38:53 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2855323003/60001
3 years, 7 months ago (2017-05-04 20:29:25 UTC) #22
commit-bot: I haz the power
3 years, 7 months ago (2017-05-04 20:34:22 UTC) #25
Message was sent while issue was closed.
Committed patchset #3 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/643ad22bbc6337e430f0108db6f4...

Powered by Google App Engine
This is Rietveld 408576698