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

Unified Diff: chrome/browser/extensions/convert_user_script.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/browser/extensions/convert_user_script.cc
diff --git a/chrome/browser/extensions/convert_user_script.cc b/chrome/browser/extensions/convert_user_script.cc
index a09134b576c7190a81ab8b45d228360894b1654c..3f89b741ac4a79eca1c667095b1f28a50efff18c 100644
--- a/chrome/browser/extensions/convert_user_script.cc
+++ b/chrome/browser/extensions/convert_user_script.cc
@@ -150,8 +150,7 @@ scoped_refptr<Extension> ConvertUserScriptToExtension(
temp_dir.path(),
Extension::INTERNAL,
*root,
- false, // Do not require key
- false, // Disable strict checks
+ Extension::NO_FLAGS,
error);
if (!extension) {
NOTREACHED() << "Could not init extension " << *error;
« no previous file with comments | « chrome/browser/background_application_list_model_unittest.cc ('k') | chrome/browser/extensions/convert_web_app.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698