| Index: chrome/browser/extensions/extension_function_test_utils.h
|
| ===================================================================
|
| --- chrome/browser/extensions/extension_function_test_utils.h (revision 142698)
|
| +++ chrome/browser/extensions/extension_function_test_utils.h (working copy)
|
| @@ -55,6 +55,19 @@
|
| scoped_refptr<extensions::Extension> CreateEmptyExtensionWithLocation(
|
| extensions::Extension::Location location);
|
|
|
| +// Creates an extension instance with a specified extension value that can be
|
| +// attached to an ExtensionFunction before running.
|
| +scoped_refptr<extensions::Extension> CreateEmptyExtensionWithValue(
|
| + base::DictionaryValue* test_extension_value);
|
| +
|
| +scoped_refptr<extensions::Extension> CreateExtension(
|
| + extensions::Extension::Location location,
|
| + base::DictionaryValue* test_extension_value);
|
| +
|
| +// Returns true if |val| contains privacy information, e.g. url,
|
| +// title, and faviconUrl.
|
| +bool HasPrivateInfo(base::DictionaryValue* val);
|
| +
|
| enum RunFunctionFlags {
|
| NONE = 0,
|
| INCLUDE_INCOGNITO = 1 << 0
|
|
|