[Extensions Bindings] Add activity logging of custom handling
If a method is handled by a custom hook, we won't notify the browser (where we normally would with an API request), and so the activity log won't be updated. Add support for activity logging with native binding. If a request is handled by a custom hook and a request is not sent to the browser, notify the activity logger (which will send the information along to the browser process). This matches the logic we currently have in the JS bindings. Add unit tests for the same. In addition to the unit tests, this fixes ActivityLogApiTest.TriggerEvent with native bindings enabled. BUG=653596 Review-Url: https://codereview.chromium.org/2962093002 Cr-Commit-Position: refs/heads/master@{#485457}
Showing
Please register or sign in to comment