Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(12)

Issue 54003: Replace chrome_process_filter with chrome_process_util. (Closed)

Created:
11 years, 9 months ago by Paweł Hajdan Jr.
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Replace chrome_process_filter with chrome_process_util. - move code only used by tests to chrome/test - make a better, more portable abstraction For now, it still only works on Windows. But this is the first step to porting this part of code.

Patch Set 1 #

Total comments: 8

Patch Set 2 : fixes #

Total comments: 1

Patch Set 3 : error handling #

Unified diffs Side-by-side diffs Delta from patch set Stats (+349 lines, -160 lines) Patch
base/process_util_win.cc View 1 2 1 chunk +4 lines, -1 line 0 comments Download
chrome/chrome.gyp View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/common/chrome_process_filter.h View 1 1 chunk +0 lines, -30 lines 0 comments Download
M chrome/common/chrome_process_filter.cc View 1 1 chunk +0 lines, -35 lines 0 comments Download
M chrome/common/common.vcproj View 1 2 1 chunk +0 lines, -8 lines 0 comments Download
M chrome/test/automated_ui_tests/automated_ui_tests.vcproj View 1 chunk +12 lines, -0 lines 0 comments Download
A chrome/test/chrome_process_util.h View 1 1 chunk +26 lines, -0 lines 0 comments Download
A chrome/test/chrome_process_util.cc View 1 2 1 chunk +50 lines, -0 lines 0 comments Download
A chrome/test/chrome_process_util_win.cc View 1 1 chunk +63 lines, -0 lines 0 comments Download
M chrome/test/interactive_ui/interactive_ui.vcproj View 1 chunk +12 lines, -0 lines 0 comments Download
M chrome/test/memory_test/memory_test.cc View 1 2 3 chunks +22 lines, -27 lines 0 comments Download
M chrome/test/memory_test/memory_test.vcproj View 1 chunk +12 lines, -0 lines 0 comments Download
M chrome/test/page_cycler/page_cycler_test.cc View 1 2 4 chunks +25 lines, -29 lines 0 comments Download
M chrome/test/page_cycler/page_cycler_tests.vcproj View 1 chunk +12 lines, -0 lines 0 comments Download
M chrome/test/perf/mem_usage.cc View 2 chunks +13 lines, -9 lines 0 comments Download
M chrome/test/plugin/plugin_tests.vcproj View 1 chunk +12 lines, -0 lines 0 comments Download
M chrome/test/reliability/reliability_tests.vcproj View 1 chunk +12 lines, -0 lines 0 comments Download
M chrome/test/selenium/selenium_tests.vcproj View 1 chunk +12 lines, -0 lines 0 comments Download
M chrome/test/startup/startup_tests.vcproj View 1 chunk +12 lines, -0 lines 0 comments Download
M chrome/test/tab_switching/tab_switching.vcproj View 1 chunk +12 lines, -0 lines 0 comments Download
M chrome/test/ui/ui_test.cc View 1 2 4 chunks +11 lines, -18 lines 0 comments Download
M chrome/test/ui/ui_tests.vcproj View 1 1 chunk +12 lines, -0 lines 0 comments Download
chrome/test/url_fetch_test/url_fetch_test.vcproj View 1 chunk +12 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Paweł Hajdan Jr.
Link to discussion: http://groups.google.com/group/chromium-dev/browse_thread/thread/9a5cf684832c2834#
11 years, 9 months ago (2009-03-27 15:19:40 UTC) #1
Paweł Hajdan Jr.
ping.
11 years, 8 months ago (2009-03-30 14:11:27 UTC) #2
Evan Martin
http://codereview.chromium.org/54003/diff/1/2 File base/process_util_win.cc (right): http://codereview.chromium.org/54003/diff/1/2#newcode37 Line 37: return OpenProcess(PROCESS_DUP_HANDLE | Does anything else rely on ...
11 years, 8 months ago (2009-03-30 16:39:45 UTC) #3
tommi (sloooow) - chröme
I took a quick look and noticed one thing that might be a problem. http://codereview.chromium.org/54003/diff/1/9 ...
11 years, 8 months ago (2009-03-31 17:56:48 UTC) #4
Paweł Hajdan Jr.
On 2009/03/30 16:39:45, Evan Martin wrote: > http://codereview.chromium.org/54003/diff/1/2 > File base/process_util_win.cc (right): > > http://codereview.chromium.org/54003/diff/1/2#newcode37 ...
11 years, 8 months ago (2009-04-02 17:34:44 UTC) #5
tommi (sloooow) - chröme
rubber stamp lgtm. http://codereview.chromium.org/54003/diff/2005/2012 File chrome/test/chrome_process_util.cc (right): http://codereview.chromium.org/54003/diff/2005/2012#newcode27 Line 27: handles.push_back(base::OpenProcessHandle(*it)); If we can't check ...
11 years, 8 months ago (2009-04-02 18:08:33 UTC) #6
Paweł Hajdan Jr.
Added error handling. Please take a look.
11 years, 8 months ago (2009-04-06 20:04:57 UTC) #7
tommi (sloooow) - chröme
lgtm
11 years, 8 months ago (2009-04-06 20:35:04 UTC) #8
Evan Martin
ping? this lgtm as well
11 years, 8 months ago (2009-04-09 00:48:09 UTC) #9
Evan Stade
11 years, 8 months ago (2009-04-09 18:55:59 UTC) #10
hmm, it appears that 3 of the files are missing, so I can't land this. Is it
possible you can re-upload?

Powered by Google App Engine
This is Rietveld 408576698