| 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 e248ec34efc7c6f06e1412380a43d07526454e5f..1a2f21cdc5d1a7e82b7b4a608701961df8ef1104 100644
|
| --- a/chrome/browser/extensions/extension_function_test_utils.h
|
| +++ b/chrome/browser/extensions/extension_function_test_utils.h
|
| @@ -69,6 +69,16 @@ base::Value* RunFunctionAndReturnResult(UIThreadExtensionFunction* function,
|
| const std::string& args,
|
| Browser* browser);
|
|
|
| +// Run |function| with |args|. Adds an error to the current test if |function|
|
| +// returns an error, or is passed a result.
|
| +bool RunFunctionWithoutResult(UIThreadExtensionFunction* function,
|
| + const std::string& args,
|
| + Browser* browser,
|
| + RunFunctionFlags flags);
|
| +bool RunFunctionWithoutResult(UIThreadExtensionFunction* function,
|
| + const std::string& args,
|
| + Browser* browser);
|
| +
|
| // Create and run |function| with |args|. Works with both synchronous and async
|
| // functions.
|
| //
|
|
|