summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chrome/browser/profiles/profile_impl.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/chrome/browser/profiles/profile_impl.cc b/chrome/browser/profiles/profile_impl.cc
index bb47a75..41c0131 100644
--- a/chrome/browser/profiles/profile_impl.cc
+++ b/chrome/browser/profiles/profile_impl.cc
@@ -375,6 +375,13 @@ void ProfileImpl::InitExtensions() {
void ProfileImpl::RegisterComponentExtensions() {
// Register the component extensions.
+ //
+ // Component extension manifest must contain a 'key' property with a unique
+ // public key, serialized in base64. You can create a suitable value with the
+ // following commands on a unixy system:
+ //
+ // ssh-keygen -t rsa -b 1024 -N '' -f /tmp/key.pem
+ // rsa -pubout -outform DER < /tmp/key.pem 2>/dev/null | base64 -w 0
typedef std::list<std::pair<FilePath::StringType, int> >
ComponentExtensionList;
ComponentExtensionList component_extensions;