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

Issue 6003395731128320: Only take into account processes that have our plugin loaded (Closed)

Created:
March 27, 2014, 3:29 p.m. by Oleksandr
Modified:
April 1, 2014, 10:52 a.m.
Visibility:
Public.

Description

Only take into account processes that have our plugin loaded

Patch Set 1 #

Total comments: 18

Patch Set 2 : Changes for x64 custom action and addressing comments #

Total comments: 24

Patch Set 3 : Addressing comments #

Patch Set 4 : Do not fake C++ iterators #

Patch Set 5 : Simplify Process_Closer constructor #

Unified diffs Side-by-side diffs Delta from patch set Stats (+230 lines, -95 lines) Patch
M installer/installer.gyp View 1 1 chunk +1 line, -1 line 0 comments Download
M installer/src/custom-action/close_application.cpp View 1 2 3 4 3 chunks +6 lines, -6 lines 0 comments Download
M installer/src/installer-lib/process.h View 1 2 3 4 8 chunks +101 lines, -51 lines 0 comments Download
M installer/src/installer-lib/process.cpp View 1 2 3 3 chunks +48 lines, -10 lines 0 comments Download
M installer/src/installer-lib/test/process_test.cpp View 1 9 chunks +67 lines, -24 lines 0 comments Download
M installer/src/installer-lib/test/test-installer-lib.wxs View 1 2 chunks +3 lines, -1 line 0 comments Download
M installer/src/installer-lib/test/test-installer-lib-sandbox.cpp View 1 2 3 4 2 chunks +4 lines, -2 lines 0 comments Download

Messages

Total messages: 17
Oleksandr
March 27, 2014, 3:30 p.m. (2014-03-27 15:30:06 UTC) #1
Eric
Only cosmetics (names, really), a bit of dead code, and one what seems to be ...
March 27, 2014, 4:52 p.m. (2014-03-27 16:52:44 UTC) #2
Eric
http://codereview.adblockplus.org/6003395731128320/diff/5629499534213120/installer/src/installer-lib/process.h File installer/src/installer-lib/process.h (right): http://codereview.adblockplus.org/6003395731128320/diff/5629499534213120/installer/src/installer-lib/process.h#newcode124 installer/src/installer-lib/process.h:124: class process_by_any_exe_name_CI Since this filter isn't being used any ...
March 27, 2014, 4:56 p.m. (2014-03-27 16:56:50 UTC) #3
Oleksandr
http://codereview.adblockplus.org/6003395731128320/diff/5629499534213120/installer/src/installer-lib/process.h File installer/src/installer-lib/process.h (right): http://codereview.adblockplus.org/6003395731128320/diff/5629499534213120/installer/src/installer-lib/process.h#newcode555 installer/src/installer-lib/process.h:555: exe_name_set module_names ; I actually think module_names is more ...
March 27, 2014, 11:28 p.m. (2014-03-27 23:28:46 UTC) #4
Wladimir Palant
http://codereview.adblockplus.org/6003395731128320/diff/5676830073815040/installer/src/installer-lib/process.cpp File installer/src/installer-lib/process.cpp (right): http://codereview.adblockplus.org/6003395731128320/diff/5676830073815040/installer/src/installer-lib/process.cpp#newcode37 installer/src/installer-lib/process.cpp:37: sprintf(tmp, "Invalid handle. Last error: %d", GetLastError()); sprintf() is ...
March 28, 2014, 7:30 a.m. (2014-03-28 07:30:17 UTC) #5
Wladimir Palant
http://codereview.adblockplus.org/6003395731128320/diff/5629499534213120/installer/src/installer-lib/process.h File installer/src/installer-lib/process.h (right): http://codereview.adblockplus.org/6003395731128320/diff/5629499534213120/installer/src/installer-lib/process.h#newcode124 installer/src/installer-lib/process.h:124: class process_by_any_exe_name_CI On 2014/03/27 16:56:51, Eric wrote: > I ...
March 28, 2014, 7:34 a.m. (2014-03-28 07:34:55 UTC) #6
Eric
On 2014/03/28 07:34:55, Wladimir Palant wrote: > I strongly prefer to remove any unused code ...
March 28, 2014, 12:05 p.m. (2014-03-28 12:05:34 UTC) #7
Eric
http://codereview.adblockplus.org/6003395731128320/diff/5676830073815040/installer/src/installer-lib/process.cpp File installer/src/installer-lib/process.cpp (right): http://codereview.adblockplus.org/6003395731128320/diff/5676830073815040/installer/src/installer-lib/process.cpp#newcode202 installer/src/installer-lib/process.cpp:202: } On 2014/03/28 07:30:17, Wladimir Palant wrote: > This ...
March 28, 2014, 12:06 p.m. (2014-03-28 12:06:00 UTC) #8
Eric
Also. LGTM at this point. The one remaining issue (sprintf) we'll deal with in a ...
March 28, 2014, 12:08 p.m. (2014-03-28 12:08:27 UTC) #9
Oleksandr
http://codereview.adblockplus.org/6003395731128320/diff/5676830073815040/installer/src/installer-lib/process.cpp File installer/src/installer-lib/process.cpp (right): http://codereview.adblockplus.org/6003395731128320/diff/5676830073815040/installer/src/installer-lib/process.cpp#newcode202 installer/src/installer-lib/process.cpp:202: } I actually like the way it is implemented. ...
March 28, 2014, 12:48 p.m. (2014-03-28 12:48:35 UTC) #10
Eric
http://codereview.adblockplus.org/6003395731128320/diff/5676830073815040/installer/src/installer-lib/process.h File installer/src/installer-lib/process.h (right): http://codereview.adblockplus.org/6003395731128320/diff/5676830073815040/installer/src/installer-lib/process.h#newcode588 installer/src/installer-lib/process.h:588: : snapshot( snapshot ), file_names( file_name_list, n_file_names ), module_names(module_name_list, ...
March 28, 2014, 1:15 p.m. (2014-03-28 13:15:01 UTC) #11
Oleksandr
http://codereview.adblockplus.org/6003395731128320/diff/5676830073815040/installer/src/installer-lib/process.h File installer/src/installer-lib/process.h (right): http://codereview.adblockplus.org/6003395731128320/diff/5676830073815040/installer/src/installer-lib/process.h#newcode588 installer/src/installer-lib/process.h:588: : snapshot( snapshot ), file_names( file_name_list, n_file_names ), module_names(module_name_list, ...
March 28, 2014, 1:49 p.m. (2014-03-28 13:49:27 UTC) #12
Wladimir Palant
http://codereview.adblockplus.org/6003395731128320/diff/5676830073815040/installer/src/installer-lib/process.cpp File installer/src/installer-lib/process.cpp (right): http://codereview.adblockplus.org/6003395731128320/diff/5676830073815040/installer/src/installer-lib/process.cpp#newcode202 installer/src/installer-lib/process.cpp:202: } On 2014/03/28 12:48:35, Oleksandr wrote: > Can you ...
March 28, 2014, 1:55 p.m. (2014-03-28 13:55:24 UTC) #13
Oleksandr
http://codereview.adblockplus.org/6003395731128320/diff/5676830073815040/installer/src/installer-lib/process.cpp File installer/src/installer-lib/process.cpp (right): http://codereview.adblockplus.org/6003395731128320/diff/5676830073815040/installer/src/installer-lib/process.cpp#newcode202 installer/src/installer-lib/process.cpp:202: } Fixed in Patchset 4 On 2014/03/28 13:55:24, Wladimir ...
March 28, 2014, 2:28 p.m. (2014-03-28 14:28:16 UTC) #14
Eric
http://codereview.adblockplus.org/6003395731128320/diff/5676830073815040/installer/src/installer-lib/process.h File installer/src/installer-lib/process.h (right): http://codereview.adblockplus.org/6003395731128320/diff/5676830073815040/installer/src/installer-lib/process.h#newcode588 installer/src/installer-lib/process.h:588: : snapshot( snapshot ), file_names( file_name_list, n_file_names ), module_names(module_name_list, ...
March 28, 2014, 3:13 p.m. (2014-03-28 15:13:19 UTC) #15
Oleksandr
March 31, 2014, 8:32 a.m. (2014-03-31 08:32:28 UTC) #16
Wladimir Palant
April 1, 2014, 10:49 a.m. (2014-04-01 10:49:22 UTC) #17
LGTM

Powered by Google App Engine
This is Rietveld