DescriptionAdd ChromeExtensionFunctionDetails
In the interest of phasing out the totally unnecessary
*Chrome*ExtensionFunction base classes, this establishes a
ChromeExtensionFunctionDetails object which can be created
by extension function implementations in //chrome who need
access to Chrome-specific details.
This object can be very easily composed into such function
implementations such that they can move away from using
e.g. ChromeAsyncExtensionFunction or
ChromeUIThreadExtensionFunction as a base class and instead
rely on more universal and generic ExtensionFunction and its
immediate derivatives.
A conversion of the tabs API ExecuteCodeInTabFunction is
included for demonstration purposes.
BUG=None
R=scheib@chromium.org
CC=lfg@chromium.org
Committed: https://crrev.com/1e1bbdec0613dedaa9e43c84a9b5346a942f1841
Cr-Commit-Position: refs/heads/master@{#293570}
Patch Set 1 #
Total comments: 4
Patch Set 2 : #
Total comments: 8
Patch Set 3 : #Messages
Total messages: 22 (8 generated)
|