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

Issue 11745016: BinaryValue support for NULL buffer. (Closed)

Created:
7 years, 11 months ago by rpaquay
Modified:
7 years, 11 months ago
CC:
chromium-apps-reviews_chromium.org
Base URL:
https://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

BinaryValue support for NULL buffer. * Apply original change from CL 10389088 (https://chromiumcodereview.appspot.com/10389088) * Change BinaryValue to use "scoped_ptr<char[]>" instead of "scoped_ptr<char>". By contract, the memory owned should be deleted with the "delete[]" operator. BUG=127630 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=175482

Patch Set 1 #

Total comments: 2

Patch Set 2 : Address code review feedback #

Patch Set 3 : BinaryValue support for NULL buffer. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -61 lines) Patch
M base/values.h View 1 2 chunks +13 lines, -13 lines 0 comments Download
M base/values.cc View 1 2 chunks +14 lines, -22 lines 0 comments Download
M base/values_unittest.cc View 1 3 chunks +11 lines, -19 lines 0 comments Download
M chrome/browser/extensions/api/bluetooth/bluetooth_api.cc View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/extensions/api/socket/socket_api.cc View 2 chunks +2 lines, -6 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
rpaquay
This change contains the original fix from https://chromiumcodereview.appspot.com/10389088, in addition to a simple fix to ...
7 years, 11 months ago (2013-01-03 18:27:57 UTC) #1
brettw
lgtm https://chromiumcodereview.appspot.com/11745016/diff/1/base/values.cc File base/values.cc (right): https://chromiumcodereview.appspot.com/11745016/diff/1/base/values.cc#newcode317 base/values.cc:317: buffer_(buffer.release()), Can you use .Pass() here instead?
7 years, 11 months ago (2013-01-03 22:01:23 UTC) #2
asargent_no_longer_on_chrome
LGTM
7 years, 11 months ago (2013-01-03 22:20:43 UTC) #3
rpaquay
* Address code review feedback from Brett. * Also, when looking at scoped_ptr.h, there was ...
7 years, 11 months ago (2013-01-03 23:20:02 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rpaquay@chromium.org/11745016/6001
7 years, 11 months ago (2013-01-04 18:14:30 UTC) #5
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 11 months ago (2013-01-04 18:46:29 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rpaquay@chromium.org/11745016/6001
7 years, 11 months ago (2013-01-07 18:42:12 UTC) #7
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 11 months ago (2013-01-07 19:22:06 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rpaquay@chromium.org/11745016/18001
7 years, 11 months ago (2013-01-07 22:53:40 UTC) #9
commit-bot: I haz the power
7 years, 11 months ago (2013-01-08 03:16:32 UTC) #10
Message was sent while issue was closed.
Change committed as 175482

Powered by Google App Engine
This is Rietveld 408576698