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

Unified Diff: chrome/common/extensions/extension_file_util.cc

Issue 6766002: Replace bools in extension creation with flags. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: For landing Created 9 years, 9 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/common/extensions/extension_file_util.cc
diff --git a/chrome/common/extensions/extension_file_util.cc b/chrome/common/extensions/extension_file_util.cc
index 5d520266c428f20b993a7e8b38ecb7c1c10ccb9e..1c4ec8c1c4480168981159a3735d119e01c1d8bc 100644
--- a/chrome/common/extensions/extension_file_util.cc
+++ b/chrome/common/extensions/extension_file_util.cc
@@ -88,8 +88,7 @@ void UninstallExtension(const FilePath& extensions_dir,
scoped_refptr<Extension> LoadExtension(const FilePath& extension_path,
Extension::Location location,
- bool require_key,
- bool strict_error_checks,
+ int flags,
std::string* error) {
FilePath manifest_path =
extension_path.Append(Extension::kManifestFilename);
@@ -128,8 +127,7 @@ scoped_refptr<Extension> LoadExtension(const FilePath& extension_path,
extension_path,
location,
*manifest,
- require_key,
- strict_error_checks,
+ flags,
error));
if (!extension.get())
return NULL;
« no previous file with comments | « chrome/common/extensions/extension_file_util.h ('k') | chrome/common/extensions/extension_file_util_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698