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

Issue 2788563002: Transfer DictionaryValue ownership in SandboxedUnpacker::OnUnpackSuccess() (Closed)

Created:
3 years, 8 months ago by lazyboy
Modified:
3 years, 8 months ago
Reviewers:
xiyuan, Noel Gordon
CC:
chromium-reviews, extensions-reviews_chromium.org, chromium-apps-reviews_chromium.org, oshima+watch_chromium.org, davemoore+watch_chromium.org, ios-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Transfer DictionaryValue ownership in SandboxedUnpacker::OnUnpackSuccess() This would avoid DeepCopy() in clients that care about retaining the DictionaryValue's ownership. BUG=699528 Test=None Review-Url: https://codereview.chromium.org/2788563002 Cr-Commit-Position: refs/heads/master@{#460835} Committed: https://chromium.googlesource.com/chromium/src/+/6cff6b18a5bc0741499ac4b1ba45ffe9c4ddccdd

Patch Set 1 #

Patch Set 2 : fix chromeos compile #

Total comments: 2

Patch Set 3 : address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -24 lines) Patch
M chrome/browser/chromeos/app_mode/kiosk_app_data.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/app_mode/kiosk_external_update_validator.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/app_mode/kiosk_external_update_validator.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/crx_installer.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/crx_installer.cc View 4 chunks +9 lines, -9 lines 0 comments Download
M chrome/browser/extensions/startup_helper.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/browser/sandboxed_unpacker.h View 1 chunk +6 lines, -5 lines 0 comments Download
M extensions/browser/sandboxed_unpacker.cc View 1 2 1 chunk +2 lines, -4 lines 0 comments Download
M extensions/browser/sandboxed_unpacker_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download

Depends on Patchset:

Messages

Total messages: 19 (12 generated)
lazyboy
Hi Noel, mind reviewing this CL?
3 years, 8 months ago (2017-03-30 06:10:30 UTC) #6
Noel Gordon
On 2017/03/30 06:10:30, lazyboy wrote: > Hi Noel, mind reviewing this CL? Don't mind at ...
3 years, 8 months ago (2017-03-30 06:27:03 UTC) #7
Noel Gordon
All the base::DictionaryValue* original_manifest -> std::unique_ptr<base::DictionaryValue> original_manifest changes look correct to me, thanks for fixing. ...
3 years, 8 months ago (2017-03-30 06:35:41 UTC) #8
lazyboy
Thanks, will add other reviewer(s), but wanted to run by you quick. +Xiyuan for chrome/browser/chromeos/* ...
3 years, 8 months ago (2017-03-30 07:01:51 UTC) #12
xiyuan
c/b/chromeos/* lgtm
3 years, 8 months ago (2017-03-30 16:04:12 UTC) #13
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/2788563002/40001
3 years, 8 months ago (2017-03-30 17:46:23 UTC) #16
commit-bot: I haz the power
3 years, 8 months ago (2017-03-30 18:44:47 UTC) #19
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/6cff6b18a5bc0741499ac4b1ba45...

Powered by Google App Engine
This is Rietveld 408576698