diff options
Diffstat (limited to 'chrome/browser/extensions/chrome_extension_function.h')
-rw-r--r-- | chrome/browser/extensions/chrome_extension_function.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/chrome/browser/extensions/chrome_extension_function.h b/chrome/browser/extensions/chrome_extension_function.h index dc35815..98002b4 100644 --- a/chrome/browser/extensions/chrome_extension_function.h +++ b/chrome/browser/extensions/chrome_extension_function.h @@ -20,6 +20,10 @@ class WindowController; // A chrome specific analog to AsyncExtensionFunction. This has access to a // chrome Profile. +// +// DEPRECATED: Please consider inherting UIThreadExtensionFunction directly. +// Then if you need access to Chrome details, you can construct a +// ChromeExtensionFunctionDetails object within your function implementation. class ChromeUIThreadExtensionFunction : public UIThreadExtensionFunction { public: ChromeUIThreadExtensionFunction(); @@ -64,6 +68,11 @@ class ChromeUIThreadExtensionFunction : public UIThreadExtensionFunction { // A chrome specific analog to AsyncExtensionFunction. This has access to a // chrome Profile. +// +// DEPRECATED: Please consider inherting UIThreadExtensionFunction or +// AsyncExtensionFunction directly. Then if you need access to Chrome details, +// you can construct a ChromeExtensionFunctionDetails object within your +// function implementation. class ChromeAsyncExtensionFunction : public ChromeUIThreadExtensionFunction { public: ChromeAsyncExtensionFunction(); @@ -83,6 +92,11 @@ class ChromeAsyncExtensionFunction : public ChromeUIThreadExtensionFunction { // A chrome specific analog to SyncExtensionFunction. This has access to a // chrome Profile. +// +// DEPRECATED: Please consider inherting UIThreadExtensionFunction or +// SyncExtensionFunction directly. Then if you need access to Chrome details, +// you can construct a ChromeExtensionFunctionDetails object within your +// function implementation. class ChromeSyncExtensionFunction : public ChromeUIThreadExtensionFunction { public: ChromeSyncExtensionFunction(); |