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

Issue 29377570: Issue 4931 - add possibility to not send data depending on connection properties (Closed)

Created:
Feb. 28, 2017, 2:22 p.m. by sergei
Modified:
March 20, 2017, 12:21 p.m.
Reviewers:
Oleksandr
CC:
Felix Dahlke, Eric, anton
Visibility:
Public.

Description

# based on # - https://codereview.adblockplus.org/29377064/

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Total comments: 4

Patch Set 3 : address comment #

Patch Set 4 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+313 lines, -4 lines) Patch
M README.md View 1 chunk +4 lines, -0 lines 0 comments Download
M include/AdblockPlus/FilterEngine.h View 1 2 3 3 chunks +26 lines, -0 lines 0 comments Download
M include/AdblockPlus/JsEngine.h View 1 4 chunks +22 lines, -0 lines 0 comments Download
M lib/prefs.js View 1 chunk +1 line, -1 line 0 comments Download
M src/FilterEngine.cpp View 1 2 3 3 chunks +34 lines, -2 lines 0 comments Download
M src/JsEngine.cpp View 1 1 chunk +20 lines, -0 lines 0 comments Download
M src/WebRequestJsObject.cpp View 1 chunk +10 lines, -1 line 0 comments Download
M test/WebRequest.cpp View 1 2 3 2 chunks +196 lines, -0 lines 0 comments Download

Messages

Total messages: 17
sergei
Feb. 28, 2017, 2:36 p.m. (2017-02-28 14:36:23 UTC) #1
Eric
There's no reason for this change to touch C++ code. Everything necessary can be done ...
Feb. 28, 2017, 5:35 p.m. (2017-02-28 17:35:37 UTC) #2
sergei
On 2017/02/28 17:35:37, Eric wrote: > There's no reason for this change to touch C++ ...
Feb. 28, 2017, 10:27 p.m. (2017-02-28 22:27:23 UTC) #3
Eric
On 2017/02/28 22:27:23, sergei wrote: > The aim is to prevent downloading of subscriptions on ...
Feb. 28, 2017, 10:57 p.m. (2017-02-28 22:57:14 UTC) #4
sergei
On 2017/02/28 22:57:14, Eric wrote: > On 2017/02/28 22:27:23, sergei wrote: > > The aim ...
Feb. 28, 2017, 11:40 p.m. (2017-02-28 23:40:11 UTC) #5
anton
On 2017/02/28 14:36:23, sergei wrote: something is broken here: 03-08 01:22:51.510 5960-5998/? D/libadblockplus: Getting pref ...
March 7, 2017, 8:45 p.m. (2017-03-07 20:45:51 UTC) #6
sergei
On 2017/03/07 20:45:51, anton wrote: > On 2017/02/28 14:36:23, sergei wrote: > > something is ...
March 16, 2017, 8:48 a.m. (2017-03-16 08:48:08 UTC) #7
sergei
Is there any chance to get it reviewed?
March 16, 2017, 8:48 a.m. (2017-03-16 08:48:49 UTC) #8
anton
On 2017/03/16 08:48:08, sergei wrote: > On 2017/03/07 20:45:51, anton wrote: > > On 2017/02/28 ...
March 16, 2017, 8:49 a.m. (2017-03-16 08:49:54 UTC) #9
sergei
On 2017/03/16 08:49:54, anton wrote: .... > > > > It was a bug in ...
March 16, 2017, 9 a.m. (2017-03-16 09:00:14 UTC) #10
anton
On 2017/03/16 09:00:14, sergei wrote: > On 2017/03/16 08:49:54, anton wrote: > .... > > ...
March 16, 2017, 10:36 a.m. (2017-03-16 10:36:49 UTC) #11
sergei
On 2017/03/16 10:36:49, anton wrote: > On 2017/03/16 09:00:14, sergei wrote: > > On 2017/03/16 ...
March 16, 2017, 10:39 a.m. (2017-03-16 10:39:56 UTC) #12
anton
On 2017/03/16 10:39:56, sergei wrote: > On 2017/03/16 10:36:49, anton wrote: > > On 2017/03/16 ...
March 16, 2017, 11:26 a.m. (2017-03-16 11:26:22 UTC) #13
Oleksandr
Overall this approach is fine by me. Especially considering the aggressive timeline. https://codereview.adblockplus.org/29377570/diff/29377674/src/FilterEngine.cpp File src/FilterEngine.cpp ...
March 16, 2017, 2:19 p.m. (2017-03-16 14:19:53 UTC) #14
sergei
https://codereview.adblockplus.org/29377570/diff/29377674/src/FilterEngine.cpp File src/FilterEngine.cpp (right): https://codereview.adblockplus.org/29377570/diff/29377674/src/FilterEngine.cpp#newcode181 src/FilterEngine.cpp:181: auto isConnectionAllowed = params.isConnectionAllowed; On 2017/03/16 14:19:53, Oleksandr wrote: ...
March 16, 2017, 4:25 p.m. (2017-03-16 16:25:22 UTC) #15
Oleksandr
LGTM
March 16, 2017, 7:42 p.m. (2017-03-16 19:42:36 UTC) #16
sergei
March 17, 2017, 2:40 p.m. (2017-03-17 14:40:11 UTC) #17
I'm going to push it today.

Powered by Google App Engine
This is Rietveld