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

Unified Diff: extensions/common/features/complex_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 | « no previous file | extensions/common/features/complex_feature.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/features/complex_feature.h
diff --git a/extensions/common/features/complex_feature.h b/extensions/common/features/complex_feature.h
index 901983889eaffdf1e7cdfacc31483a8e323d27dc..ba77400d3d38d26c66f4a21d7fc2af0167550b66 100644
--- a/extensions/common/features/complex_feature.h
+++ b/extensions/common/features/complex_feature.h
@@ -29,6 +29,7 @@ class ComplexFeature : public Feature {
// extensions::Feature:
Availability IsAvailableToManifest(const std::string& extension_id,
+ const std::string& hashed_id,
Manifest::Type type,
Manifest::Location location,
int manifest_version,
@@ -39,8 +40,10 @@ class ComplexFeature : public Feature {
const GURL& url,
Platform platform) 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;
protected:
// extensions::Feature:
« no previous file with comments | « no previous file | extensions/common/features/complex_feature.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698