Index: chrome/browser/extensions/extension_function_test_utils.cc |
diff --git a/chrome/browser/extensions/extension_function_test_utils.cc b/chrome/browser/extensions/extension_function_test_utils.cc |
index f5561f3312270d7157a0643c83863dc87ec04919..40c0c9af9b3252829ab086a15e4f7ecf8a575aa8 100644 |
--- a/chrome/browser/extensions/extension_function_test_utils.cc |
+++ b/chrome/browser/extensions/extension_function_test_utils.cc |
@@ -98,13 +98,18 @@ base::ListValue* ToList(base::Value* val) { |
} |
scoped_refptr<Extension> CreateEmptyExtension() { |
+ return CreateEmptyExtensionWithLocation(Extension::INTERNAL); |
+} |
+ |
+scoped_refptr<Extension> CreateEmptyExtensionWithLocation( |
+ Extension::Location location) { |
std::string error; |
const FilePath test_extension_path; |
scoped_ptr<base::DictionaryValue> test_extension_value( |
ParseDictionary("{\"name\": \"Test\", \"version\": \"1.0\"}")); |
scoped_refptr<Extension> extension(Extension::Create( |
test_extension_path, |
- Extension::INTERNAL, |
+ location, |
*test_extension_value.get(), |
Extension::NO_FLAGS, |
&error)); |