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

Issue 8390002: implement GetProcessExecutablePath() on OpenBSD and start using it (Closed)

Created:
9 years, 2 months ago by Robert Nagy
Modified:
9 years, 2 months ago
CC:
chromium-reviews, brettw-cc_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

implement GetProcessExecutablePath() on OpenBSD and start using it also add a way to override the hardcoded path in PathProviderPosix() to ease development BUG= TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=107149

Patch Set 1 #

Total comments: 14

Patch Set 2 : fixes for prev. patchset #

Total comments: 2

Patch Set 3 : return the variable instead #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -3 lines) Patch
M base/base_paths_linux.cc View 1 1 chunk +5 lines, -1 line 0 comments Download
M base/process_util.h View 1 chunk +3 lines, -1 line 0 comments Download
M base/process_util_openbsd.cc View 1 2 1 chunk +16 lines, -1 line 0 comments Download

Messages

Total messages: 8 (0 generated)
Robert Nagy
9 years, 2 months ago (2011-10-25 13:47:33 UTC) #1
Mark Mentovai
http://codereview.chromium.org/8390002/diff/1/base/base_paths_linux.cc File base/base_paths_linux.cc (right): http://codereview.chromium.org/8390002/diff/1/base/base_paths_linux.cc#newcode71 base/base_paths_linux.cc:71: if (getenv("CHROME_PATH")) 1. CHROME_PATH could be slightly more descriptive. ...
9 years, 2 months ago (2011-10-25 14:59:19 UTC) #2
Robert Nagy
http://codereview.chromium.org/8390002/diff/1/base/base_paths_linux.cc File base/base_paths_linux.cc (right): http://codereview.chromium.org/8390002/diff/1/base/base_paths_linux.cc#newcode71 base/base_paths_linux.cc:71: if (getenv("CHROME_PATH")) On 2011/10/25 14:59:19, Mark Mentovai wrote: > ...
9 years, 2 months ago (2011-10-25 15:29:38 UTC) #3
Mark Mentovai
http://codereview.chromium.org/8390002/diff/1005/base/process_util_openbsd.cc File base/process_util_openbsd.cc (right): http://codereview.chromium.org/8390002/diff/1005/base/process_util_openbsd.cc#newcode63 base/process_util_openbsd.cc:63: return FilePath("chrome"); OK, so then just return FilePath(kp.p_comm).
9 years, 2 months ago (2011-10-25 16:07:51 UTC) #4
Robert Nagy
http://codereview.chromium.org/8390002/diff/1005/base/process_util_openbsd.cc File base/process_util_openbsd.cc (right): http://codereview.chromium.org/8390002/diff/1005/base/process_util_openbsd.cc#newcode63 base/process_util_openbsd.cc:63: return FilePath("chrome"); On 2011/10/25 16:07:51, Mark Mentovai wrote: > ...
9 years, 2 months ago (2011-10-25 16:22:22 UTC) #5
Mark Mentovai
LGTM and CQ.
9 years, 2 months ago (2011-10-25 16:27:29 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/robert.nagy@gmail.com/8390002/5001
9 years, 2 months ago (2011-10-25 16:27:42 UTC) #7
commit-bot: I haz the power
9 years, 2 months ago (2011-10-25 17:43:06 UTC) #8
Change committed as 107149

Powered by Google App Engine
This is Rietveld 408576698