Index: chrome/browser/resources/options/certificate_manager.js |
diff --git a/chrome/browser/resources/options/certificate_manager.js b/chrome/browser/resources/options/certificate_manager.js |
index 8e9cad6115881b57a0bb073a0f989b4e1b3045c5..1191a4102e685e6a92bee1d258c9a447131fd551 100644 |
--- a/chrome/browser/resources/options/certificate_manager.js |
+++ b/chrome/browser/resources/options/certificate_manager.js |
@@ -221,6 +221,10 @@ cr.define('options', function() { |
this.initalized_ = true; |
OptionsPage.showTab($('personal-certs-nav-tab')); |
chrome.send('populateCertificateManager'); |
+ if (this.hash && this.hash.search('user-cert:') == 1) { |
+ chrome.send('importPersonalCertificate', |
+ [false, decodeURIComponent(this.hash.slice(11))]); |
+ } |
} |
} |
}; |