Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Issue 6495401389588480: Issue #1173 - add exception handler to CPluginClass::Invoke (Closed)

Created:
Aug. 6, 2014, 9:32 p.m. by Eric
Modified:
Jan. 6, 2015, 7:23 p.m.
Reviewers:
Oleksandr
CC:
Felix Dahlke, sergei
Visibility:
Public.

Description

Issue #1173 - add exception handler to CPluginClass::Invoke The main change here is adding an exception handler to CPluginClass::Invoke. As usual, most of the textual changes are indentation. Behavior under catch-all exception is simply to return a failure value. Change return value of VARIANT_TRUE to S_OK, the documented return value for Invoke. Added some comments about issues raised during auditing the code, in particular about #1163. Fixed some indentation. Removed a bit of dead code.

Patch Set 1 #

Total comments: 15

Patch Set 2 : #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+138 lines, -119 lines) Patch
M src/plugin/PluginClass.cpp View 1 4 chunks +138 lines, -119 lines 3 comments Download

Messages

Total messages: 9
Eric
Aug. 6, 2014, 9:35 p.m. (2014-08-06 21:35:34 UTC) #1
Oleksandr
http://codereview.adblockplus.org/6495401389588480/diff/5629499534213120/src/plugin/PluginClass.cpp File src/plugin/PluginClass.cpp (right): http://codereview.adblockplus.org/6495401389588480/diff/5629499534213120/src/plugin/PluginClass.cpp#newcode397 src/plugin/PluginClass.cpp:397: // AUDIT: Explicitly releasing a resource when a container ...
Aug. 21, 2014, 2:49 p.m. (2014-08-21 14:49:55 UTC) #2
Eric
http://codereview.adblockplus.org/6495401389588480/diff/5629499534213120/src/plugin/PluginClass.cpp File src/plugin/PluginClass.cpp (right): http://codereview.adblockplus.org/6495401389588480/diff/5629499534213120/src/plugin/PluginClass.cpp#newcode397 src/plugin/PluginClass.cpp:397: // AUDIT: Explicitly releasing a resource when a container ...
Sept. 29, 2014, 7:16 p.m. (2014-09-29 19:16:43 UTC) #3
Oleksandr
http://codereview.adblockplus.org/6495401389588480/diff/5629499534213120/src/plugin/PluginClass.cpp File src/plugin/PluginClass.cpp (right): http://codereview.adblockplus.org/6495401389588480/diff/5629499534213120/src/plugin/PluginClass.cpp#newcode397 src/plugin/PluginClass.cpp:397: // AUDIT: Explicitly releasing a resource when a container ...
Oct. 2, 2014, 8:44 p.m. (2014-10-02 20:44:16 UTC) #4
Eric
http://codereview.adblockplus.org/6495401389588480/diff/5629499534213120/src/plugin/PluginClass.cpp File src/plugin/PluginClass.cpp (right): http://codereview.adblockplus.org/6495401389588480/diff/5629499534213120/src/plugin/PluginClass.cpp#newcode397 src/plugin/PluginClass.cpp:397: // AUDIT: Explicitly releasing a resource when a container ...
Oct. 2, 2014, 11:11 p.m. (2014-10-02 23:11:02 UTC) #5
Oleksandr
LGTM http://codereview.adblockplus.org/6495401389588480/diff/5685265389584384/src/plugin/PluginClass.cpp File src/plugin/PluginClass.cpp (right): http://codereview.adblockplus.org/6495401389588480/diff/5685265389584384/src/plugin/PluginClass.cpp#newcode882 src/plugin/PluginClass.cpp:882: I understand this was added here inadvertently, since ...
Oct. 3, 2014, 8:31 a.m. (2014-10-03 08:31:49 UTC) #6
Eric
http://codereview.adblockplus.org/6495401389588480/diff/5685265389584384/src/plugin/PluginClass.cpp File src/plugin/PluginClass.cpp (right): http://codereview.adblockplus.org/6495401389588480/diff/5685265389584384/src/plugin/PluginClass.cpp#newcode882 src/plugin/PluginClass.cpp:882: On 2014/10/03 08:31:50, Oleksandr wrote: > I understand this ...
Oct. 3, 2014, 3:14 p.m. (2014-10-03 15:14:13 UTC) #7
Oleksandr
http://codereview.adblockplus.org/6495401389588480/diff/5685265389584384/src/plugin/PluginClass.cpp File src/plugin/PluginClass.cpp (right): http://codereview.adblockplus.org/6495401389588480/diff/5685265389584384/src/plugin/PluginClass.cpp#newcode882 src/plugin/PluginClass.cpp:882: hm. Trying doing a diff for patchset 1 vs ...
Oct. 3, 2014, 3:19 p.m. (2014-10-03 15:19:20 UTC) #8
Eric
Oct. 3, 2014, 3:37 p.m. (2014-10-03 15:37:51 UTC) #9
http://codereview.adblockplus.org/6495401389588480/diff/5685265389584384/src/...
File src/plugin/PluginClass.cpp (right):

http://codereview.adblockplus.org/6495401389588480/diff/5685265389584384/src/...
src/plugin/PluginClass.cpp:882: 
Ah. What you're seeing is an artifact of rebasing the code between the time the
first patch set was created and that of the second. 

The changes are from 0892c5dece26064d992adf5f25c8895ed7ca6e3f, which is a change
of yours after we forked a development branch a couple of months ago.

Powered by Google App Engine
This is Rietveld