Implement sending diagnostics messages from extension
Add pre-defined native messaging destination that allows whitelisted extensions to send messages to the diagnostics_processor daemon (via the diagnosticsd daemon) and receive the responses back. The extension should use either chrome.runtime.sendNativeMessage or chrome.runtime.connectNative with the 'com.google.wilco_dtc' application in order to use this message pipe. The hardcoded whitelist for accessing this message pipe is currently empty - it will have to be updated once we figure out extension IDs that we'll use. BUG=chromium:907932,b:123926112 TEST=manual Change-Id: I9083dd87346b490cb43ca8aabd2f7534245215e2 Reviewed-on: https://chromium-review.googlesource.com/c/1463442Reviewed-by:Mattias Nissler <mnissler@chromium.org> Reviewed-by:
Sergey Ulanov <sergeyu@chromium.org> Reviewed-by:
Polina Bondarenko <pbond@chromium.org> Commit-Queue: Maksim Ivanov <emaxx@chromium.org> Cr-Commit-Position: refs/heads/master@{#635494}
Showing
Please register or sign in to comment