forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extensions: Make extension_id mandatory for constructing Manifest.
The various manifest feature availability checks in the Manfiest class also depend on the specified extension ID. The extension ID is set using the Manifest::SetExtensionId function. This makes it possible for clients to use the class incorrectly since any feature availability checks made before an extension ID is set might be incorrect as they won't incorporate the correct extension ID value. Fix this by taking in the Extension ID through the Manifest constructor. BUG=1167276 Change-Id: Iade390c963e593ceb3895406dfab18e83f99da42 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2633152 Auto-Submit: Karan Bhatia <karandeepb@chromium.org> Reviewed-by: Sergey Poromov <poromov@chromium.org> Reviewed-by: Devlin <rdevlin.cronin@chromium.org> Commit-Queue: Karan Bhatia <karandeepb@chromium.org> Cr-Commit-Position: refs/heads/master@{#848017}
- Loading branch information
Karandeep Bhatia
authored and
Chromium LUCI CQ
committed
Jan 28, 2021
1 parent
984aac4
commit 65980c0
Showing
9 changed files
with
107 additions
and
100 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.