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

Issue 2822373002: [Reland][gin] Add Arguments::GetAll() (Closed)

Created:
3 years, 8 months ago by Devlin
Modified:
3 years, 8 months ago
CC:
chromium-apps-reviews_chromium.org, chromium-reviews, extensions-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[Reland][gin] Add Arguments::GetAll() Add an Arguments::GetAll() function that returns all arguments as a std::vector<v8::Local<v8::Value>>. This is more clear, concise, and slightly more performant than the alternative of using Arguments::GetRemaining() since it doesn't require trying to convert and avoids unnecessary calls. Add a test for the new method. Reverted due to a compile error, now fixed. BUG=None Review-Url: https://codereview.chromium.org/2822373002 Cr-Commit-Position: refs/heads/master@{#465627} Committed: https://chromium.googlesource.com/chromium/src/+/cd675450f3ecf0afadb537c18cbe29aaed80164e

Patch Set 1 : Original #

Patch Set 2 : Fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+82 lines, -5 lines) Patch
M extensions/renderer/event_emitter.cc View 1 chunk +1 line, -5 lines 0 comments Download
M gin/arguments.h View 1 chunk +5 lines, -0 lines 0 comments Download
M gin/arguments.cc View 1 chunk +13 lines, -0 lines 0 comments Download
M gin/arguments_unittest.cc View 1 1 chunk +63 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (12 generated)
Devlin
Jochen, mind taking another quick look? Only difference from the original at https://codereview.chromium.org/2824883002/ is the ...
3 years, 8 months ago (2017-04-19 00:40:42 UTC) #4
jochen (gone - plz use gerrit)
lgtm
3 years, 8 months ago (2017-04-19 10:15:50 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/2822373002/20001
3 years, 8 months ago (2017-04-19 16:10:02 UTC) #13
commit-bot: I haz the power
3 years, 8 months ago (2017-04-19 16:14:26 UTC) #16
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/cd675450f3ecf0afadb537c18cbe...

Powered by Google App Engine
This is Rietveld 408576698