Extensions: Annotate RunExtensionTest family of functions with
WARN_UNUSED_RESULT. The ExtensionApiTest::RunExtensionTest family of functions are used in extension API tests and they return the success or failure of the test. However, if the caller does not check the return value, the test is marked as successful, which can be confusing for developers. This CL annotates these functions with WARN_UNUSED_RESULT to ensure the return value is always consumed. BUG=1135464 Change-Id: Idb6cc6865a0602502a33dd78f55bcf2e28ffd9df Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2454406 Commit-Queue: David Bertoni <dbertoni@chromium.org> Auto-Submit: Karan Bhatia <karandeepb@chromium.org> Reviewed-by:David Bertoni <dbertoni@chromium.org> Cr-Commit-Position: refs/heads/master@{#814855}
Showing
Please register or sign in to comment