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

Issue 5670602698391552: Issue #1234 - Remove CString local variable from CPluginTabBase::InjectABP (Closed)

Created:
May 20, 2015, 3:52 p.m. by Eric
Modified:
Oct. 8, 2015, 7:44 p.m.
Reviewers:
sergei, Oleksandr
CC:
Felix Dahlke
Visibility:
Public.

Description

Issue #1234 - Remove CString local variable from CPluginTabBase::InjectABP A local copy of the argument 'url' had been used for the case-insensitive string comparison member function of CString. Factor out the predicate into its own function and rewrite it to compare with 'wcsnicmp()'. Also, the predicate was changed to recognize any ".html" file in the "html/templates" folder within our installation, rather than just the two files explicitly enumerated before.

Patch Set 1 #

Total comments: 11

Patch Set 2 : address comments, rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -12 lines) Patch
M src/plugin/PluginTabBase.cpp View 1 1 chunk +41 lines, -12 lines 0 comments Download

Messages

Total messages: 5
Eric
http://codereview.adblockplus.org/5670602698391552/diff/5629499534213120/src/plugin/PluginTabBase.cpp File src/plugin/PluginTabBase.cpp (right): http://codereview.adblockplus.org/5670602698391552/diff/5629499534213120/src/plugin/PluginTabBase.cpp#newcode121 src/plugin/PluginTabBase.cpp:121: * This is occasionally the case in circumstances yet ...
May 20, 2015, 3:56 p.m. (2015-05-20 15:56:32 UTC) #1
sergei
It's more than merely getting rid of ATL::CString, there is also an important change in ...
June 1, 2015, 9:41 a.m. (2015-06-01 09:41:30 UTC) #2
Eric
New patch set, rebased to current public tip. On 2015/06/01 09:41:30, sergei wrote: > I ...
June 10, 2015, 6:30 p.m. (2015-06-10 18:30:36 UTC) #3
sergei
LGTM
Oct. 2, 2015, 10:04 a.m. (2015-10-02 10:04:57 UTC) #4
Oleksandr
Oct. 5, 2015, 10:15 a.m. (2015-10-05 10:15:04 UTC) #5
LGTM

Powered by Google App Engine
This is Rietveld