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

Unified Diff: extensions/common/extension.h

Issue 850853002: Extensions: Consolidate extension id hashing / searching. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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: extensions/common/extension.h
diff --git a/extensions/common/extension.h b/extensions/common/extension.h
index 1e1e52cc039c580a58dcee3f27509e63b495e076..e507e705132454b8ad328028f4e87e3c5e1e4d72 100644
--- a/extensions/common/extension.h
+++ b/extensions/common/extension.h
@@ -318,6 +318,9 @@ class Extension : public base::RefCountedThreadSafe<Extension> {
return permissions_data_.get();
}
+ // Returns a hash for the extension id.
+ std::string HashedIdInHex() const;
+
// Appends |new_warning[s]| to install_warnings_.
void AddInstallWarning(const InstallWarning& new_warning);
void AddInstallWarnings(const std::vector<InstallWarning>& new_warnings);

Powered by Google App Engine
This is Rietveld 408576698