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

Issue 12406002: Pass ID of the calling extension to the native messaging host. (Closed)

Created:
7 years, 9 months ago by Sergey Ulanov
Modified:
7 years, 9 months ago
Reviewers:
jschuh, Matt Perry
CC:
chromium-reviews, Aaron Boodman, sail+watch_chromium.org, chromium-apps-reviews_chromium.org
Visibility:
Public.

Description

Pass ID of the calling extension to the native messaging host. Previously native hosts didn't have a way to know which extension started them. With this change security origin of the calling extension will be passed to the native host process as a parameter, so that it knows which extension is calling it. BUG=142915 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=186297

Patch Set 1 : #

Total comments: 3

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Messages

Total messages: 8 (0 generated)
Sergey Ulanov
7 years, 9 months ago (2013-03-05 02:41:05 UTC) #1
Matt Perry
https://codereview.chromium.org/12406002/diff/1001/chrome/browser/extensions/api/messaging/native_process_launcher.h File chrome/browser/extensions/api/messaging/native_process_launcher.h (right): https://codereview.chromium.org/12406002/diff/1001/chrome/browser/extensions/api/messaging/native_process_launcher.h#newcode56 chrome/browser/extensions/api/messaging/native_process_launcher.h:56: static bool LaunchNativeProcess( I think it would be better ...
7 years, 9 months ago (2013-03-05 18:19:24 UTC) #2
Sergey Ulanov
https://codereview.chromium.org/12406002/diff/1001/chrome/browser/extensions/api/messaging/native_process_launcher.h File chrome/browser/extensions/api/messaging/native_process_launcher.h (right): https://codereview.chromium.org/12406002/diff/1001/chrome/browser/extensions/api/messaging/native_process_launcher.h#newcode56 chrome/browser/extensions/api/messaging/native_process_launcher.h:56: static bool LaunchNativeProcess( On 2013/03/05 18:19:24, Matt Perry wrote: ...
7 years, 9 months ago (2013-03-05 19:03:05 UTC) #3
Matt Perry
lgtm https://codereview.chromium.org/12406002/diff/1001/chrome/browser/extensions/api/messaging/native_process_launcher.h File chrome/browser/extensions/api/messaging/native_process_launcher.h (right): https://codereview.chromium.org/12406002/diff/1001/chrome/browser/extensions/api/messaging/native_process_launcher.h#newcode56 chrome/browser/extensions/api/messaging/native_process_launcher.h:56: static bool LaunchNativeProcess( On 2013/03/05 19:03:05, sergeyu wrote: ...
7 years, 9 months ago (2013-03-05 19:14:25 UTC) #4
jschuh
When I try to view the most recent diffs I get: error: old chunk mismatch
7 years, 9 months ago (2013-03-05 21:36:11 UTC) #5
Sergey Ulanov
On 2013/03/05 21:36:11, Justin Schuh wrote: > When I try to view the most recent ...
7 years, 9 months ago (2013-03-05 21:58:54 UTC) #6
jschuh
On 2013/03/05 21:58:54, sergeyu wrote: > On 2013/03/05 21:36:11, Justin Schuh wrote: > > When ...
7 years, 9 months ago (2013-03-05 22:01:24 UTC) #7
Sergey Ulanov
7 years, 9 months ago (2013-03-06 00:36:29 UTC) #8
Message was sent while issue was closed.
Committed patchset #4 manually as r186297 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698