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

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

Issue 10750010: Add an installType property to the management API (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Forgot to remove param from LoadExtensionWithOptions (sorry) Created 8 years, 5 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 3990f8cefe55fa87c3e32c2739bcbd7670bc29ee..b506b588754c32918c0e5223fe8688eec058ce71 100644
--- a/chrome/common/extensions/extension_file_util.cc
+++ b/chrome/common/extensions/extension_file_util.cc
@@ -140,8 +140,9 @@ scoped_refptr<Extension> LoadExtension(const FilePath& extension_path,
if (!manifest.get())
return NULL;
if (!extension_l10n_util::LocalizeExtension(extension_path, manifest.get(),
- error))
+ error)) {
return NULL;
+ }
scoped_refptr<Extension> extension(Extension::Create(extension_path,
location,
« no previous file with comments | « chrome/common/extensions/extension.cc ('k') | chrome/test/data/extensions/api_test/management/admin_extension/manifest.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698