DescriptionMinor cleanup to how infobars handle expiry:
* Make StoreActiveEntryUniqueID() take no args -- the arg was unnecessary.
* Remove the unique ID setter and make its lone caller override ShouldExpireInternal() instead, to reduce the overall API surface area.
* Prefer to override ShouldExpireInternal() instead of ShouldExpire() where possible, as that's a safer pattern if others copy-and-paste it, since it will change less behavior.
BUG=none
TEST=none
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=175362
Patch Set 1 #Patch Set 2 : #Messages
Total messages: 4 (0 generated)
|