diff options
author | mihaip@chromium.org <mihaip@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-29 00:14:13 +0000 |
---|---|---|
committer | mihaip@chromium.org <mihaip@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-29 00:14:13 +0000 |
commit | 83048a2179db7e3b8f290a4a0f3a7fdc5166dd4d (patch) | |
tree | a578820e10deb5a4cf26c9edf99cdfa8862a0172 /chrome/browser/extensions/test_extension_prefs.cc | |
parent | 7ac27facde2ad544c1a1e4b63d1410e48ffa5670 (diff) | |
download | chromium_src-83048a2179db7e3b8f290a4a0f3a7fdc5166dd4d.zip chromium_src-83048a2179db7e3b8f290a4a0f3a7fdc5166dd4d.tar.gz chromium_src-83048a2179db7e3b8f290a4a0f3a7fdc5166dd4d.tar.bz2 |
Replace bools in extension creation with flags.
Turn require_key and strict_error_checks bool params of Extension::
InitFromValue, Extension::Create and extension_file_util::LoadExtension into a
flags parameter.
BUG=None
TEST=compiles
R=aa@chromium.org
Review URL: http://codereview.chromium.org/6766002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79638 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/test_extension_prefs.cc')
-rw-r--r-- | chrome/browser/extensions/test_extension_prefs.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/extensions/test_extension_prefs.cc b/chrome/browser/extensions/test_extension_prefs.cc index 4acac36..7b454f1 100644 --- a/chrome/browser/extensions/test_extension_prefs.cc +++ b/chrome/browser/extensions/test_extension_prefs.cc @@ -108,7 +108,7 @@ scoped_refptr<Extension> TestExtensionPrefs::AddExtensionWithManifest( FilePath path = extensions_dir_.AppendASCII(name); std::string errors; scoped_refptr<Extension> extension = Extension::Create( - path, location, manifest, false, true, &errors); + path, location, manifest, Extension::STRICT_ERROR_CHECKS, &errors); EXPECT_TRUE(extension); if (!extension) return NULL; |