| Index: chrome/browser/extensions/extension_function_test_utils.h
|
| diff --git a/chrome/browser/extensions/extension_function_test_utils.h b/chrome/browser/extensions/extension_function_test_utils.h
|
| index 3b24b5d440bbf1ef9aee92832192f96b4b192c2e..ef005a4dd3b277a340db28037ab7918d99ff1168 100644
|
| --- a/chrome/browser/extensions/extension_function_test_utils.h
|
| +++ b/chrome/browser/extensions/extension_function_test_utils.h
|
| @@ -10,6 +10,7 @@
|
|
|
| #include "base/memory/ref_counted.h"
|
|
|
| +class AsyncExtensionFunction;
|
| class Browser;
|
| class Extension;
|
| class UIThreadExtensionFunction;
|
| @@ -84,6 +85,13 @@ void RunFunction(UIThreadExtensionFunction* function,
|
| Browser* browser,
|
| RunFunctionFlags flags);
|
|
|
| +// Similar to RunFunction, but doesn't return until |function| calls
|
| +// SendResponse. Returns the value |function| passed to SendResponse.
|
| +bool RunAsyncFunction(AsyncExtensionFunction* function,
|
| + const std::string& args,
|
| + Browser* browser,
|
| + RunFunctionFlags flags);
|
| +
|
| } // namespace extension_function_test_utils
|
|
|
| #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_FUNCTION_TEST_UTILS_H_
|
|
|