Change FakeChromeIdentity to EDO pass-by-value class
This change will make EG2 tests work when FakeChromeIdentity is passed between test and app processes. - Overrode (BOOL)edo_isEDOValueType to let EDO framework pass it by value. - Made the class confirm to NSSecureCoding protocol as its required by EDO pass-by-value. - Overrode -isEqual and -hash methods to compare by values so that comparing between copied objects will work. Bug: 1015907, 922813 Change-Id: Iefadf89b401dabcee53e44ff1c6ce903cc979de4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1922336Reviewed-by:Jérôme Lebel <jlebel@chromium.org> Reviewed-by:
Rohit Rao <rohitrao@chromium.org> Commit-Queue: Zhaoyang Li <zhaoyangli@chromium.org> Cr-Commit-Position: refs/heads/master@{#716467}
Showing
Please register or sign in to comment