diff options
author | rafaelw@chromium.org <rafaelw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-12 14:59:32 +0000 |
---|---|---|
committer | rafaelw@chromium.org <rafaelw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-12 14:59:32 +0000 |
commit | c6619189d9d7176f62754fce548cdcedf8831bcf (patch) | |
tree | bfec95efed25eadfa1bd3e4f09e9cda686e09cc0 /chrome/browser/extensions/extension_function_dispatcher.h | |
parent | c07e97c914b3defcbf02445a650f01aa57ec04aa (diff) | |
download | chromium_src-c6619189d9d7176f62754fce548cdcedf8831bcf.zip chromium_src-c6619189d9d7176f62754fce548cdcedf8831bcf.tar.gz chromium_src-c6619189d9d7176f62754fce548cdcedf8831bcf.tar.bz2 |
FormatErrorMessage() functions are now publicly available from ExtensionErrorUtils.
ExtensionTabsModule implements a bunch of error_messages.
Extension Calls now always deliver a response to the calling context and route error messages if any to the window.console.error log.
Review URL: http://codereview.chromium.org/113105
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15853 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extension_function_dispatcher.h')
-rw-r--r-- | chrome/browser/extensions/extension_function_dispatcher.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/extensions/extension_function_dispatcher.h b/chrome/browser/extensions/extension_function_dispatcher.h index 43d2a36..fed54791 100644 --- a/chrome/browser/extensions/extension_function_dispatcher.h +++ b/chrome/browser/extensions/extension_function_dispatcher.h @@ -35,10 +35,10 @@ class ExtensionFunctionDispatcher { // Handle a request to execute an extension function. void HandleRequest(const std::string& name, const std::string& args, - int callback_id); + int request_id, bool has_callback); // Send a response to a function. - void SendResponse(ExtensionFunction* api); + void SendResponse(ExtensionFunction* api, bool success); // Gets the browser extension functions should operate relative to. For // example, for positioning windows, or alert boxes, or creating tabs. |