Auto-generated C++ classes for IDL interfaces are named with prefix "V8", e.g. interface Node => class V8Node. Auto-generated C++ classes for (Web IDL based) callback functions should follow the same manner, e.g. callback IDBObserverCallback => class V8IDBObserverCallback.
This is good for:
- It's consistent with IDL interfaces.
- We can avoid name conflict with Blink implementation (e.g. when Blink already has "class X", then we cannot define "callback X" in Web IDL.)
Comment 1 by yukishiino@chromium.org
, Sep 6 2017