WDYT? Terrible idea? Really terrible idea?
I originally implemented this because I wanted to use this for WebContents. However, it turned out to be Hardâ„¢, though I kind of feel like this is really the right thing to do.
The tricky part, of course, is there actually *are* things that depend on being generic SupportsUserData::Data and allowing themselves to be attached to, say, BrowserContext or WebContents.
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
// This is a helper for classes that want to allow users to stash random data by
arbitrary
// // Internally, delegates to `user_data_holder_`.
I am having trouble understanding the point of this holder TBH. The comment here isn't explaining what's going on and is different from before. Is this replacing inheritance or something else?
// random data by key. The random data is owned by the holder and will be
s/random/arbitrary/g
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |