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

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

Issue 10912041: Disallow packing or loading unpacked manifest v1 extensions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: blarh Created 8 years, 3 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
« no previous file with comments | « chrome/browser/extensions/extension_apitest.cc ('k') | chrome/browser/extensions/extension_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_browsertest.h
diff --git a/chrome/browser/extensions/extension_browsertest.h b/chrome/browser/extensions/extension_browsertest.h
index 06b67fba638c404c916d4ae56d2be840ffba3de7..aef8c36ab264057e59591d3ade0afc44587dcfea 100644
--- a/chrome/browser/extensions/extension_browsertest.h
+++ b/chrome/browser/extensions/extension_browsertest.h
@@ -37,7 +37,11 @@ class ExtensionBrowserTest : virtual public InProcessBrowserTest,
// Don't fail when the loaded manifest has warnings (should only be used
// when testing deprecated features).
- kFlagIgnoreManifestWarnings = 1 << 2
+ kFlagIgnoreManifestWarnings = 1 << 2,
+
+ // Allow older manifest versions (typically these can't be loaded - we allow
+ // them for testing).
+ kFlagAllowOldManifestVersions = 1 << 3,
};
ExtensionBrowserTest();
« no previous file with comments | « chrome/browser/extensions/extension_apitest.cc ('k') | chrome/browser/extensions/extension_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698