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

Unified Diff: extensions/common/features/simple_feature.h

Issue 2116293003: extensions: Generate hash of extension ID at a higher level Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« no previous file with comments | « extensions/common/features/feature.cc ('k') | extensions/common/features/simple_feature.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/features/simple_feature.h
diff --git a/extensions/common/features/simple_feature.h b/extensions/common/features/simple_feature.h
index cefd73067da70237e588a39988e8af66ffba972b..a3323121888599d2795b52ea32f6e6e2889c5e0f 100644
--- a/extensions/common/features/simple_feature.h
+++ b/extensions/common/features/simple_feature.h
@@ -77,6 +77,7 @@ class SimpleFeature : public Feature {
// extension::Feature:
Availability IsAvailableToManifest(const std::string& extension_id,
+ const std::string& hashed_id,
Manifest::Type type,
Manifest::Location location,
int manifest_version,
@@ -94,8 +95,10 @@ class SimpleFeature : public Feature {
bool IsInternal() const override;
- bool IsIdInBlacklist(const std::string& extension_id) const override;
- bool IsIdInWhitelist(const std::string& extension_id) const override;
+ bool IsIdInBlacklist(const std::string& extension_id,
+ const std::string& hashed_id) const override;
+ bool IsIdInWhitelist(const std::string& extension_id,
+ const std::string& hashed_id) const override;
static bool IsIdInArray(const std::string& extension_id,
const char* const array[],
« no previous file with comments | « extensions/common/features/feature.cc ('k') | extensions/common/features/simple_feature.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698