Index: chrome/browser/extensions/test_extension_prefs.h |
diff --git a/chrome/browser/extensions/test_extension_prefs.h b/chrome/browser/extensions/test_extension_prefs.h |
index b451b715ab5d4a385e418d7e2a8d00114fbbfaec..5d0bfa95ab26fafafca02307f90a97cdeb658150 100644 |
--- a/chrome/browser/extensions/test_extension_prefs.h |
+++ b/chrome/browser/extensions/test_extension_prefs.h |
@@ -61,6 +61,12 @@ class TestExtensionPrefs { |
// As above, but the extension is an app. |
scoped_refptr<Extension> AddApp(const std::string& name); |
+ // Creates a new Extension with the given name in our temp dir with |
+ // Manifest::Location, adds it to our ExtensionPrefs, and returns it. |
+ scoped_refptr<Extension> AddExtensionWithManifestLocation( |
+ const std::string& name, |
+ Manifest::Location location); |
+ |
// Similar to AddExtension, but takes a dictionary with manifest values. |
scoped_refptr<Extension> AddExtensionWithManifest( |
const base::DictionaryValue& manifest, |