summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-02 02:28:43 +0000
committeraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-02 02:28:43 +0000
commit91220f96439d35cbdf311e7b783c9b3e80433547 (patch)
treebeaaf152e64d01bc6ce52b3517e3fe8e566f294d
parentee35398f132b7c98ced8f70e4c3ab99c45a58c11 (diff)
downloadchromium_src-91220f96439d35cbdf311e7b783c9b3e80433547.zip
chromium_src-91220f96439d35cbdf311e7b783c9b3e80433547.tar.gz
chromium_src-91220f96439d35cbdf311e7b783c9b3e80433547.tar.bz2
Add a comment explaining how to create keys for component
extensions, since people hit this all the time. TBR=mpcomplete@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73408 0039d316-1c4b-4281-b951-d872f2087c98
-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;