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

Issue 29500602: Issue 5450 - introduce the Platform class (Closed)

Created:
July 28, 2017, 12:40 p.m. by sergei
Modified:
Aug. 7, 2017, 2:51 p.m.
Reviewers:
hub
CC:
Felix Dahlke
Base URL:
https://github.com/adblockplus/libadblockplus.git
Visibility:
Public.

Description

For present it's merely moving some platform specific interfaces from JsEngine as well as JsEngine itself into that Platform class.

Patch Set 1 #

Total comments: 4

Patch Set 2 : rebase #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+434 lines, -262 lines) Patch
M include/AdblockPlus.h View 1 chunk +0 lines, -1 line 0 comments Download
M include/AdblockPlus/JsEngine.h View 5 chunks +14 lines, -48 lines 0 comments Download
A include/AdblockPlus/Platform.h View 1 chunk +133 lines, -0 lines 6 comments Download
M libadblockplus.gyp View 2 chunks +2 lines, -0 lines 0 comments Download
M shell/src/Main.cpp View 2 chunks +5 lines, -1 line 0 comments Download
M src/ConsoleJsObject.cpp View 3 chunks +3 lines, -2 lines 0 comments Download
M src/FileSystemJsObject.cpp View 7 chunks +7 lines, -6 lines 0 comments Download
M src/JsEngine.cpp View 1 5 chunks +6 lines, -50 lines 0 comments Download
A src/Platform.cpp View 1 chunk +99 lines, -0 lines 0 comments Download
M src/WebRequestJsObject.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M test/AppInfoJsObject.cpp View 2 chunks +17 lines, -15 lines 0 comments Download
M test/BaseJsTest.h View 2 chunks +5 lines, -12 lines 0 comments Download
M test/BaseJsTest.cpp View 2 chunks +8 lines, -18 lines 0 comments Download
M test/ConsoleJsObject.cpp View 2 chunks +10 lines, -5 lines 0 comments Download
M test/FileSystemJsObject.cpp View 1 chunk +5 lines, -3 lines 0 comments Download
M test/FilterEngine.cpp View 8 chunks +29 lines, -25 lines 0 comments Download
M test/GlobalJsObject.cpp View 2 chunks +8 lines, -4 lines 0 comments Download
M test/JsEngine.cpp View 4 chunks +11 lines, -3 lines 0 comments Download
M test/JsValue.cpp View 11 chunks +15 lines, -15 lines 0 comments Download
M test/Notification.cpp View 1 chunk +7 lines, -7 lines 0 comments Download
M test/Prefs.cpp View 8 chunks +29 lines, -29 lines 0 comments Download
M test/UpdateCheck.cpp View 3 chunks +11 lines, -10 lines 0 comments Download
M test/WebRequest.cpp View 2 chunks +8 lines, -6 lines 0 comments Download

Messages

Total messages: 10
sergei
July 28, 2017, 12:47 p.m. (2017-07-28 12:47:38 UTC) #1
hub
https://codereview.adblockplus.org/29500602/diff/29500603/include/AdblockPlus/JsEngine.h File include/AdblockPlus/JsEngine.h (right): https://codereview.adblockplus.org/29500602/diff/29500603/include/AdblockPlus/JsEngine.h#newcode285 include/AdblockPlus/JsEngine.h:285: Platform& platform; The problem I see here is that ...
July 28, 2017, 2:29 p.m. (2017-07-28 14:29:03 UTC) #2
sergei
https://codereview.adblockplus.org/29500602/diff/29500603/include/AdblockPlus/JsEngine.h File include/AdblockPlus/JsEngine.h (right): https://codereview.adblockplus.org/29500602/diff/29500603/include/AdblockPlus/JsEngine.h#newcode285 include/AdblockPlus/JsEngine.h:285: Platform& platform; On 2017/07/28 14:29:03, hub wrote: > The ...
July 28, 2017, 3:10 p.m. (2017-07-28 15:10:29 UTC) #3
sergei
On 2017/07/28 15:10:29, sergei wrote: > https://codereview.adblockplus.org/29500602/diff/29500603/include/AdblockPlus/JsEngine.h > File include/AdblockPlus/JsEngine.h (right): > > https://codereview.adblockplus.org/29500602/diff/29500603/include/AdblockPlus/JsEngine.h#newcode285 > ...
July 28, 2017, 3:13 p.m. (2017-07-28 15:13:52 UTC) #4
hub
https://codereview.adblockplus.org/29500602/diff/29500603/include/AdblockPlus/JsEngine.h File include/AdblockPlus/JsEngine.h (right): https://codereview.adblockplus.org/29500602/diff/29500603/include/AdblockPlus/JsEngine.h#newcode285 include/AdblockPlus/JsEngine.h:285: Platform& platform; On 2017/07/28 15:10:29, sergei wrote: > On ...
July 28, 2017, 6:16 p.m. (2017-07-28 18:16:38 UTC) #5
sergei
https://codereview.adblockplus.org/29500602/diff/29500603/include/AdblockPlus/JsEngine.h File include/AdblockPlus/JsEngine.h (right): https://codereview.adblockplus.org/29500602/diff/29500603/include/AdblockPlus/JsEngine.h#newcode285 include/AdblockPlus/JsEngine.h:285: Platform& platform; On 2017/07/28 18:16:38, hub wrote: > On ...
July 28, 2017, 7:16 p.m. (2017-07-28 19:16:51 UTC) #6
hub
https://codereview.adblockplus.org/29500602/diff/29501577/include/AdblockPlus/Platform.h File include/AdblockPlus/Platform.h (right): https://codereview.adblockplus.org/29500602/diff/29501577/include/AdblockPlus/Platform.h#newcode100 include/AdblockPlus/Platform.h:100: std::shared_ptr<JsEngine> GetJsEngine(); I thought we had settled on returning ...
Aug. 4, 2017, 2:18 p.m. (2017-08-04 14:18:44 UTC) #7
sergei
https://codereview.adblockplus.org/29500602/diff/29501577/include/AdblockPlus/Platform.h File include/AdblockPlus/Platform.h (right): https://codereview.adblockplus.org/29500602/diff/29501577/include/AdblockPlus/Platform.h#newcode100 include/AdblockPlus/Platform.h:100: std::shared_ptr<JsEngine> GetJsEngine(); On 2017/08/04 14:18:43, hub wrote: > I ...
Aug. 4, 2017, 2:40 p.m. (2017-08-04 14:40:09 UTC) #8
hub
LGTM But I would recommend to land the other patches (that needs review) all at ...
Aug. 4, 2017, 3:14 p.m. (2017-08-04 15:14:50 UTC) #9
sergei
Aug. 7, 2017, 8:38 a.m. (2017-08-07 08:38:36 UTC) #10
On 2017/08/04 15:14:50, hub wrote:
> LGTM
> 
> But I would recommend to land the other patches (that needs review) all at the
> same time
I think it's possible to land them at the same time, but in different commits as
they are reviewed.

Powered by Google App Engine
This is Rietveld