Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(329)

Unified Diff: chrome/browser/extensions/test_extension_prefs.h

Issue 7717012: ntp4: default to 18 apps per page for new installs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove checks Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 b09396cb15086d6a57cd4dca67caa4f9f60c5f77..1723e560171766d9c51d31cdce48e7dcdb944d7b 100644
--- a/chrome/browser/extensions/test_extension_prefs.h
+++ b/chrome/browser/extensions/test_extension_prefs.h
@@ -40,6 +40,9 @@ class TestExtensionPrefs {
// our ExtensionPrefs, and returns it.
scoped_refptr<Extension> AddExtension(std::string name);
+ // As above, but the extension is an app.
+ scoped_refptr<Extension> AddApp(std::string name);
+
// Similar to AddExtension, but takes a dictionary with manifest values.
scoped_refptr<Extension> AddExtensionWithManifest(
const base::DictionaryValue& manifest, Extension::Location location);

Powered by Google App Engine
This is Rietveld 408576698