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

Issue 2958173002: Cache the NetworkService interface pointer in the browser. (Closed)

Created:
3 years, 5 months ago by jam
Modified:
3 years, 5 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, wjmaclean
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Cache the NetworkService interface pointer in the browser. The NetworkService interface is meant to be used as a signleton, so rather than have it contain a BindingSet just cache the pointer in the browser. This fixes DOMStorageBrowserTest.SanityCheckIncognito DatabaseTest.OffTheRecordCannotReadRegularDatabase DatabaseTest.OffTheRecordDBPersistentAcrossWindows when run in debug or release-with-asserts. BUG=729848 Review-Url: https://codereview.chromium.org/2958173002 Cr-Commit-Position: refs/heads/master@{#482834} Committed: https://chromium.googlesource.com/chromium/src/+/b98b8c85d3bb5969c3d3c17851acc40e032e2dca

Patch Set 1 #

Total comments: 3

Patch Set 2 : review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -5 lines) Patch
M content/browser/storage_partition_impl.cc View 1 1 chunk +9 lines, -5 lines 0 comments Download

Messages

Total messages: 15 (9 generated)
jam
3 years, 5 months ago (2017-06-27 22:44:36 UTC) #4
Ken Rockot(use gerrit already)
lgtm https://codereview.chromium.org/2958173002/diff/1/content/browser/storage_partition_impl.cc File content/browser/storage_partition_impl.cc (right): https://codereview.chromium.org/2958173002/diff/1/content/browser/storage_partition_impl.cc#newcode536 content/browser/storage_partition_impl.cc:536: static base::LazyInstance<mojom::NetworkServicePtr>::Leaky Is there any reason to use ...
3 years, 5 months ago (2017-06-27 22:52:39 UTC) #5
Ken Rockot(use gerrit already)
On 2017/06/27 at 22:52:39, Ken Rockot(use gerrit already) wrote: > lgtm > > https://codereview.chromium.org/2958173002/diff/1/content/browser/storage_partition_impl.cc > ...
3 years, 5 months ago (2017-06-27 22:53:17 UTC) #6
jam
https://codereview.chromium.org/2958173002/diff/1/content/browser/storage_partition_impl.cc File content/browser/storage_partition_impl.cc (right): https://codereview.chromium.org/2958173002/diff/1/content/browser/storage_partition_impl.cc#newcode536 content/browser/storage_partition_impl.cc:536: static base::LazyInstance<mojom::NetworkServicePtr>::Leaky On 2017/06/27 22:52:39, Ken Rockot(use gerrit already) ...
3 years, 5 months ago (2017-06-27 23:42:19 UTC) #7
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/2958173002/20001
3 years, 5 months ago (2017-06-27 23:44:53 UTC) #12
commit-bot: I haz the power
3 years, 5 months ago (2017-06-28 01:09:08 UTC) #15
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/b98b8c85d3bb5969c3d3c17851ac...

Powered by Google App Engine
This is Rietveld 408576698