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

Issue 10774005: Avoid duplication between AdblockPlus and AdblockPlusEngine (Closed)

Created:
May 24, 2013, 2:34 p.m. by Felix Dahlke
Modified:
Nov. 12, 2013, 10:11 a.m.
Visibility:
Public.

Description

I had to use precompiled headers in AdblockPlusEngine and make each project define the name of its precompiled header for the shared files to work in both projects. It'd be nicer to move away from precompiled headers in both projects in the long term I think.

Patch Set 1 : #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+179 lines, -219 lines) Patch
M AdblockPlusEngine.vcxproj View 3 chunks +12 lines, -7 lines 0 comments Download
M AdblockPlusPlugin.vcxproj View 8 chunks +10 lines, -6 lines 0 comments Download
M src/engine/main.cpp View 6 chunks +10 lines, -105 lines 2 comments Download
A src/engine/stdafx.h View 1 chunk +6 lines, -0 lines 0 comments Download
M src/plugin/AdblockPlusClient.cpp View 4 chunks +8 lines, -100 lines 0 comments Download
M src/plugin/PluginStdAfx.h View 1 chunk +0 lines, -1 line 0 comments Download
A src/shared/AutoHandle.h View 1 chunk +21 lines, -0 lines 0 comments Download
A src/shared/AutoHandle.cpp View 1 chunk +21 lines, -0 lines 3 comments Download
A src/shared/Communication.h View 1 chunk +19 lines, -0 lines 0 comments Download
A src/shared/Communication.cpp View 1 chunk +72 lines, -0 lines 0 comments Download

Messages

Total messages: 5
Felix Dahlke
May 24, 2013, 2:35 p.m. (2013-05-24 14:35:51 UTC) #1
Wladimir Palant
LGTM though we might want to make Communication a bit more self-contained in the long ...
May 27, 2013, 9:51 a.m. (2013-05-27 09:51:55 UTC) #2
Oleksandr
Precompiled headers seem messed up, but I'll tackle that. Other then that LGTM. On 2013/05/27 ...
May 27, 2013, 3:32 p.m. (2013-05-27 15:32:09 UTC) #3
Oleksandr
http://codereview.adblockplus.org/10774005/diff/3001/src/engine/main.cpp File src/engine/main.cpp (right): http://codereview.adblockplus.org/10774005/diff/3001/src/engine/main.cpp#newcode4 src/engine/main.cpp:4: #include "../shared/Communication.h" On 2013/05/27 09:51:55, Wladimir Palant wrote: > ...
May 27, 2013, 3:32 p.m. (2013-05-27 15:32:26 UTC) #4
Felix Dahlke
June 4, 2013, 9:50 a.m. (2013-06-04 09:50:40 UTC) #5
http://codereview.adblockplus.org/10774005/diff/3001/src/shared/AutoHandle.cpp
File src/shared/AutoHandle.cpp (right):

http://codereview.adblockplus.org/10774005/diff/3001/src/shared/AutoHandle.cp...
src/shared/AutoHandle.cpp:18: HANDLE AutoHandle::get()
On 2013/05/27 09:51:55, Wladimir Palant wrote:
> I would rather do this as AutoHandle::operator HANDLE() - but it's a matter of
> taste of course.

That's actually nicer, will do.

Powered by Google App Engine
This is Rietveld