Index: chrome/browser/extensions/test_extension_prefs.cc |
diff --git a/chrome/browser/extensions/test_extension_prefs.cc b/chrome/browser/extensions/test_extension_prefs.cc |
index 4c98c5a12da221cfe0a06c7ee5c9a6271a0e2e99..35bc4be50fc3c7e514ebe20c8a358e2fef10c016 100644 |
--- a/chrome/browser/extensions/test_extension_prefs.cc |
+++ b/chrome/browser/extensions/test_extension_prefs.cc |
@@ -132,6 +132,15 @@ scoped_refptr<Extension> TestExtensionPrefs::AddExtension( |
return AddExtensionWithManifest(dictionary, Manifest::INTERNAL); |
} |
+scoped_refptr<Extension> TestExtensionPrefs::AddExtensionWithManifestLocation( |
+ const std::string& name, |
+ Manifest::Location location) { |
+ base::DictionaryValue dictionary; |
+ dictionary.SetString(manifest_keys::kName, name); |
+ dictionary.SetString(manifest_keys::kVersion, "0.1"); |
+ return AddExtensionWithManifest(dictionary, location); |
+} |
+ |
scoped_refptr<Extension> TestExtensionPrefs::AddApp(const std::string& name) { |
base::DictionaryValue dictionary; |
dictionary.SetString(manifest_keys::kName, name); |