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

Issue 1809383004: Set current directory when launching Native Messaging processes. (Closed)

Created:
4 years, 9 months ago by Sergey Ulanov
Modified:
4 years, 8 months ago
Reviewers:
Lei Zhang, Devlin
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Set current directory when launching Native Messaging processes. Previously NM host processes were started in the chrome directory, which may interfere with chrome updates sometimes. Now they are started in the directory in which the binary is located. BUG=437339 Committed: https://crrev.com/78205516908eda56c64541cf38f963a991654acc Cr-Commit-Position: refs/heads/master@{#385408}

Patch Set 1 : #

Total comments: 6

Patch Set 2 : #

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

Patch Set 5 : Fix Mac #

Total comments: 2

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+98 lines, -74 lines) Patch
M base/process/launch.h View 2 chunks +3 lines, -3 lines 0 comments Download
M base/process/launch_win.cc View 1 2 3 8 chunks +23 lines, -22 lines 0 comments Download
M base/process/process_util_unittest.cc View 1 2 3 4 5 19 chunks +57 lines, -46 lines 0 comments Download
M chrome/browser/extensions/api/messaging/native_process_launcher_posix.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/extensions/api/messaging/native_process_launcher_win.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/common/extensions/docs/templates/articles/nativeMessaging.html View 1 2 1 chunk +4 lines, -1 line 0 comments Download
M chrome/test/data/native_messaging/native_hosts/echo.py View 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 56 (24 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1809383004/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1809383004/1
4 years, 9 months ago (2016-03-18 23:26:56 UTC) #2
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_x64_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/184899)
4 years, 9 months ago (2016-03-19 00:08:10 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1809383004/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1809383004/20001
4 years, 9 months ago (2016-03-24 20:36:17 UTC) #6
Sergey Ulanov
thestig@: please review base/ fsamuel@: please review everything else
4 years, 9 months ago (2016-03-24 20:38:00 UTC) #8
Fady Samuel
On 2016/03/24 20:38:00, Sergey Ulanov wrote: > thestig@: please review base/ > fsamuel@: please review ...
4 years, 9 months ago (2016-03-24 20:44:01 UTC) #10
Sergey Ulanov
+rdevlin.cronin@chromium.org -fsamuel@chromium.org
4 years, 9 months ago (2016-03-24 20:53:24 UTC) #12
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_compile_dbg_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_compile_dbg_ng/builds/68632) linux_chromium_gn_chromeos_rel on ...
4 years, 9 months ago (2016-03-24 21:01:29 UTC) #16
Devlin
You have a few red bots. Also, do we have an idea what the likelihood ...
4 years, 9 months ago (2016-03-24 21:27:59 UTC) #17
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1809383004/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1809383004/40001
4 years, 9 months ago (2016-03-24 22:00:40 UTC) #19
Sergey Ulanov
On 2016/03/24 21:27:59, Devlin wrote: > You have a few red bots. These were because ...
4 years, 9 months ago (2016-03-24 22:27:14 UTC) #20
Devlin
extensions lgtm
4 years, 9 months ago (2016-03-24 22:28:42 UTC) #21
Lei Zhang
Port ProcessUtilTest.CurrentDirectory to Windows? https://codereview.chromium.org/1809383004/diff/60001/base/process/launch_win.cc File base/process/launch_win.cc (right): https://codereview.chromium.org/1809383004/diff/60001/base/process/launch_win.cc#newcode294 base/process/launch_win.cc:294: ? NULL nullptr in new ...
4 years, 8 months ago (2016-03-29 00:57:55 UTC) #22
Sergey Ulanov
On 2016/03/29 00:57:55, Lei Zhang wrote: > Port ProcessUtilTest.CurrentDirectory to Windows? Done. https://codereview.chromium.org/1809383004/diff/60001/base/process/launch_win.cc File base/process/launch_win.cc ...
4 years, 8 months ago (2016-04-04 18:01:27 UTC) #23
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1809383004/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1809383004/80001
4 years, 8 months ago (2016-04-04 18:02:42 UTC) #25
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_gn_rel on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_gn_rel/builds/89694)
4 years, 8 months ago (2016-04-04 18:38:42 UTC) #27
Lei Zhang
On 2016/04/04 18:38:42, commit-bot: I haz the power wrote: > Dry run: Try jobs failed ...
4 years, 8 months ago (2016-04-04 21:15:48 UTC) #28
Sergey Ulanov
I'm trying to figure out why it fails on Mac. On 2016/04/04 21:15:48, Lei Zhang ...
4 years, 8 months ago (2016-04-04 21:19:38 UTC) #29
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1809383004/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1809383004/120001
4 years, 8 months ago (2016-04-05 00:42:35 UTC) #32
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.android (JOB_TIMED_OUT, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/48212)
4 years, 8 months ago (2016-04-05 06:46:10 UTC) #34
Sergey Ulanov
It's green now on Mac on Android. PTAL
4 years, 8 months ago (2016-04-05 20:43:41 UTC) #35
Lei Zhang
On 2016/04/05 20:43:41, Sergey Ulanov wrote: > It's green now on Mac on Android. PTAL ...
4 years, 8 months ago (2016-04-05 20:51:20 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1809383004/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1809383004/120001
4 years, 8 months ago (2016-04-05 21:14:23 UTC) #39
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/48892)
4 years, 8 months ago (2016-04-05 23:32:03 UTC) #41
Lei Zhang
Oh, Android is still red. I also had a comment that I forgot to send. ...
4 years, 8 months ago (2016-04-05 23:35:22 UTC) #42
Sergey Ulanov
On 2016/04/05 23:35:22, Lei Zhang wrote: > Oh, Android is still red. I also had ...
4 years, 8 months ago (2016-04-06 00:35:15 UTC) #43
Sergey Ulanov
https://codereview.chromium.org/1809383004/diff/120001/base/process/process_util_unittest.cc File base/process/process_util_unittest.cc (right): https://codereview.chromium.org/1809383004/diff/120001/base/process/process_util_unittest.cc#newcode223 base/process/process_util_unittest.cc:223: CHECK(expected == actual) << "Expected: " << expected.value() On ...
4 years, 8 months ago (2016-04-06 00:39:50 UTC) #44
Lei Zhang
On 2016/04/06 00:35:15, Sergey Ulanov wrote: > On 2016/04/05 23:35:22, Lei Zhang wrote: > > ...
4 years, 8 months ago (2016-04-06 00:40:15 UTC) #47
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1809383004/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1809383004/140001
4 years, 8 months ago (2016-04-06 00:40:28 UTC) #48
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on tryserver.chromium.win (JOB_TIMED_OUT, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/192989)
4 years, 8 months ago (2016-04-06 06:41:34 UTC) #50
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1809383004/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1809383004/140001
4 years, 8 months ago (2016-04-06 08:18:52 UTC) #52
commit-bot: I haz the power
Committed patchset #6 (id:140001)
4 years, 8 months ago (2016-04-06 08:58:09 UTC) #54
commit-bot: I haz the power
4 years, 8 months ago (2016-04-06 09:00:30 UTC) #56
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/78205516908eda56c64541cf38f963a991654acc
Cr-Commit-Position: refs/heads/master@{#385408}

Powered by Google App Engine
This is Rietveld 408576698