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

Issue 5994126579335168: Noissue - Remove a dead inheritance and some dead code (Closed)

Created:
Feb. 18, 2015, 6:49 p.m. by Eric
Modified:
March 3, 2015, 7:43 p.m.
Reviewers:
sergei, Oleksandr
CC:
Felix Dahlke
Visibility:
Public.

Description

Noissue - Remove a dead inheritance and some dead code Remove unused "...Version" member variables in 'CPluginTabBase'. Remove inheritance of 'CAdblockPlusClient' from 'CPluginClientBase'. The only inherited member was 's_criticalSectionLocal'. Duplicate that member in 'CAdblockPlusClient'; keep the original member (but with a new name). Clean up the #include statement in affected headers, removing some unused headers, swapping out others in exchange for more specific one. Rename 'CPluginClientBase' to 'LogQueue'. This reflects the only remaining function of the old base class.

Patch Set 1 : #

Total comments: 6

Patch Set 2 : Remove comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -91 lines) Patch
M src/plugin/AdblockPlusClient.h View 3 chunks +3 lines, -1 line 0 comments Download
M src/plugin/AdblockPlusClient.cpp View 1 1 chunk +2 lines, -1 line 0 comments Download
M src/plugin/Config.h View 1 chunk +1 line, -1 line 0 comments Download
M src/plugin/Plugin.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M src/plugin/PluginClientBase.h View 2 chunks +4 lines, -20 lines 0 comments Download
M src/plugin/PluginClientBase.cpp View 4 chunks +16 lines, -43 lines 0 comments Download
M src/plugin/PluginTabBase.h View 1 chunk +0 lines, -5 lines 0 comments Download
M src/plugin/PluginTabBase.cpp View 1 3 chunks +3 lines, -18 lines 0 comments Download

Messages

Total messages: 5
Eric
http://codereview.adblockplus.org/5994126579335168/diff/5668600916475904/src/plugin/PluginTabBase.cpp File src/plugin/PluginTabBase.cpp (left): http://codereview.adblockplus.org/5994126579335168/diff/5668600916475904/src/plugin/PluginTabBase.cpp#oldcode360 src/plugin/PluginTabBase.cpp:360: } I don't know where this code came from ...
Feb. 18, 2015, 7:20 p.m. (2015-02-18 19:20:25 UTC) #1
sergei
LGTM
Feb. 19, 2015, 10:52 a.m. (2015-02-19 10:52:45 UTC) #2
Oleksandr
http://codereview.adblockplus.org/5994126579335168/diff/5668600916475904/src/plugin/PluginTabBase.cpp File src/plugin/PluginTabBase.cpp (left): http://codereview.adblockplus.org/5994126579335168/diff/5668600916475904/src/plugin/PluginTabBase.cpp#oldcode360 src/plugin/PluginTabBase.cpp:360: } On 2015/02/18 19:20:25, Eric wrote: > I don't ...
Feb. 27, 2015, 10:59 a.m. (2015-02-27 10:59:27 UTC) #3
Eric
New patch set. http://codereview.adblockplus.org/5994126579335168/diff/5668600916475904/src/plugin/PluginTabBase.cpp File src/plugin/PluginTabBase.cpp (left): http://codereview.adblockplus.org/5994126579335168/diff/5668600916475904/src/plugin/PluginTabBase.cpp#oldcode360 src/plugin/PluginTabBase.cpp:360: } On 2015/02/27 10:59:27, Oleksandr wrote: ...
Feb. 27, 2015, 4:47 p.m. (2015-02-27 16:47:47 UTC) #4
Oleksandr
March 3, 2015, 6:43 p.m. (2015-03-03 18:43:59 UTC) #5
LGTM

Powered by Google App Engine
This is Rietveld