CodeGen: Generate migration adapter API setXxxToNull
Generates setXxxToNull() to set null value on a nullable dictionary member, whose C++ type uses base::Optional<T>. This API is a migration adapter, and there are some use cases in hand-written code. We also can set a null value for other types using setXxx() APIs. Bug: 839389 Change-Id: I6989a58ed3542d4f76f7b9e519f3c49947732904 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2060406 Commit-Queue: Hitoshi Yoshida <peria@chromium.org> Reviewed-by:Yuki Shiino <yukishiino@chromium.org> Cr-Commit-Position: refs/heads/master@{#742086}
Showing
Please register or sign in to comment