Hi.
Currently CEF exposes cef_build_revision method, which provide actual revision from it was built.
I use this to make check that my application (in my case it is cefglue library), check's what loaded libcef.dll exactly matched for which cefglue was built.
But in practice i'm sometimes get more CEF binaries which have compatible API's but my library won't load updated libcef, 'cause build revision mismatch.
Of course i can introduce 'whitelist' but it is looks as hard to track them and requires update cefglue library, when it is doesn't actually required.
I.e. what i'm want:
Make cef_api_revision() method which will return hash for API - i.e. it will be stable over different cef builds, when API doesn't changed.
I think that it will be about enought to make this hash from all header files (cef/include and cef/include/internal) - for me i'm interested to get one API hash for any platform (so it must cover any structs). May be also have sense provide same in platform dependent way (i.e. mainly excluding cef_types_XXX) from hash calculation. Also when hash calculated it must remove any comments (but cef tags can be leaved i think), and make it line-ending insensitive (calculating hash with LF must be same as calculation hash on windows with CR LF).
Personally i can introduce this feature for my xilium cef builds (i'm do them in any case), but if this feature can be useful for anyone (Marshal? what you think) - then i'm can implement this feature which can be integrated without additional toolset (mono for example ).