| Index: extensions/browser/api_test_utils.h
|
| diff --git a/extensions/browser/api_test_utils.h b/extensions/browser/api_test_utils.h
|
| index 9b6eeb5637d1b0b66e66c440131d086305eb9f70..54293173b6f43296013009c1c85332e8066276e9 100644
|
| --- a/extensions/browser/api_test_utils.h
|
| +++ b/extensions/browser/api_test_utils.h
|
| @@ -57,6 +57,11 @@ scoped_refptr<extensions::Extension> CreateExtension(
|
| base::DictionaryValue* test_extension_value,
|
| const std::string& id_input);
|
|
|
| +// Creates an extension instance with a specified location that can be attached
|
| +// to an ExtensionFunction before running.
|
| +scoped_refptr<extensions::Extension> CreateEmptyExtensionWithLocation(
|
| + extensions::Manifest::Location location);
|
| +
|
| // Run |function| with |args| and return the result. Adds an error to the
|
| // current test if |function| returns an error. Takes ownership of
|
| // |function|. The caller takes ownership of the result.
|
|
|