mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
refactor: update Manifest::Location usage
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2771320 tldr: s/Manifest::FOO/ManifestLocation::kFoo/
This commit is contained in:
committed by
Samuel Attard
parent
48f437b478
commit
866e02999a
@@ -43,7 +43,8 @@ std::pair<scoped_refptr<const Extension>, std::string> LoadUnpacked(
|
||||
|
||||
std::string load_error;
|
||||
scoped_refptr<Extension> extension = file_util::LoadExtension(
|
||||
extension_dir, Manifest::COMMAND_LINE, load_flags, &load_error);
|
||||
extension_dir, extensions::mojom::ManifestLocation::kCommandLine,
|
||||
load_flags, &load_error);
|
||||
if (!extension.get()) {
|
||||
std::string err = "Loading extension at " +
|
||||
base::UTF16ToUTF8(extension_dir.LossyDisplayName()) +
|
||||
|
||||
Reference in New Issue
Block a user