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

Issue 7528027: Add export function to WebUI certificate viewer. (Closed)

Created:
9 years, 4 months ago by flackr
Modified:
9 years, 4 months ago
CC:
chromium-reviews, arv (Not doing code reviews)
Visibility:
Public.

Description

Add export function to WebUI certificate viewer. This adds the export certificate function to the WebUI certificate viewer. Additionally this moves the implementation of extracting certificate details to chrome/browser/ui/webui/certificate_viewer.cc eliminating the need to pass a hex encoded certificate pointer through the WebUI javascript. BUG=None TEST=Manually tested that you can export a certificate. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=96955

Patch Set 1 #

Total comments: 12

Patch Set 2 : Reviewer cleanup. #

Total comments: 2

Patch Set 3 : Fix comment. #

Total comments: 4

Patch Set 4 : Reviewer cleanup. #

Patch Set 5 : Remove unnecessary include dependencies. #

Patch Set 6 : Pass parent browser window to export saveas dialog for chromeos support. #

Patch Set 7 : Adds TODO comment related to passing certificate viewer parent. #

Total comments: 8

Patch Set 8 : Reviewer comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+394 lines, -318 lines) Patch
M chrome/browser/resources/certificate_viewer.html View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/resources/certificate_viewer.js View 1 2 3 4 5 6 7 5 chunks +41 lines, -13 lines 0 comments Download
M chrome/browser/ui/webui/certificate_viewer.h View 1 2 3 4 5 6 7 4 chunks +46 lines, -4 lines 0 comments Download
M chrome/browser/ui/webui/certificate_viewer.cc View 1 2 3 4 5 6 7 6 chunks +304 lines, -20 lines 0 comments Download
M chrome/browser/ui/webui/certificate_viewer_ui.h View 1 2 3 4 2 chunks +0 lines, -14 lines 0 comments Download
M chrome/browser/ui/webui/certificate_viewer_ui.cc View 1 2 3 4 3 chunks +2 lines, -267 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
flackr
http://codereview.chromium.org/7528027/diff/1/chrome/browser/ui/webui/certificate_viewer.cc File chrome/browser/ui/webui/certificate_viewer.cc (right): http://codereview.chromium.org/7528027/diff/1/chrome/browser/ui/webui/certificate_viewer.cc#newcode134 chrome/browser/ui/webui/certificate_viewer.cc:134: The following code is moved from chrome/browser/ui/webui/certificate_viewer_ui.cc with minor ...
9 years, 4 months ago (2011-08-09 15:51:27 UTC) #1
Rick Byers
Looks good to me, just a couple small comments. http://codereview.chromium.org/7528027/diff/1/chrome/browser/resources/certificate_viewer.js File chrome/browser/resources/certificate_viewer.js (right): http://codereview.chromium.org/7528027/diff/1/chrome/browser/resources/certificate_viewer.js#newcode16 chrome/browser/resources/certificate_viewer.js:16: ...
9 years, 4 months ago (2011-08-09 17:29:18 UTC) #2
flackr
http://codereview.chromium.org/7528027/diff/1/chrome/browser/resources/certificate_viewer.js File chrome/browser/resources/certificate_viewer.js (right): http://codereview.chromium.org/7528027/diff/1/chrome/browser/resources/certificate_viewer.js#newcode16 chrome/browser/resources/certificate_viewer.js:16: $('export').onclick = function() { On 2011/08/09 17:29:18, Rick Byers ...
9 years, 4 months ago (2011-08-09 18:25:15 UTC) #3
Rick Byers
LGTM http://codereview.chromium.org/7528027/diff/1/chrome/browser/ui/webui/certificate_viewer.cc File chrome/browser/ui/webui/certificate_viewer.cc (right): http://codereview.chromium.org/7528027/diff/1/chrome/browser/ui/webui/certificate_viewer.cc#newcode124 chrome/browser/ui/webui/certificate_viewer.cc:124: if (!(args->GetString(0, &val))) On 2011/08/09 18:25:15, flackr wrote: ...
9 years, 4 months ago (2011-08-09 20:03:41 UTC) #4
flackr
http://codereview.chromium.org/7528027/diff/5001/chrome/browser/resources/certificate_viewer.js File chrome/browser/resources/certificate_viewer.js (right): http://codereview.chromium.org/7528027/diff/5001/chrome/browser/resources/certificate_viewer.js#newcode46 chrome/browser/resources/certificate_viewer.js:46: // Convert the NodeList to an array so that ...
9 years, 4 months ago (2011-08-09 20:58:00 UTC) #5
James Hawkins
LGTM with nits. http://codereview.chromium.org/7528027/diff/10001/chrome/browser/resources/certificate_viewer.js File chrome/browser/resources/certificate_viewer.js (right): http://codereview.chromium.org/7528027/diff/10001/chrome/browser/resources/certificate_viewer.js#newcode24 chrome/browser/resources/certificate_viewer.js:24: chrome.send('RequestCertificateInfo', []); No need to pass ...
9 years, 4 months ago (2011-08-09 21:00:50 UTC) #6
flackr
http://codereview.chromium.org/7528027/diff/10001/chrome/browser/resources/certificate_viewer.js File chrome/browser/resources/certificate_viewer.js (right): http://codereview.chromium.org/7528027/diff/10001/chrome/browser/resources/certificate_viewer.js#newcode24 chrome/browser/resources/certificate_viewer.js:24: chrome.send('RequestCertificateInfo', []); On 2011/08/09 21:00:50, James Hawkins wrote: > ...
9 years, 4 months ago (2011-08-09 21:14:23 UTC) #7
flackr
In chromeos builds, using the certificate viewer dialog as the parent for the export dialog ...
9 years, 4 months ago (2011-08-10 15:18:46 UTC) #8
Rick Byers
Definitely seems unfortunate that you have to do this, but I don't know enough about ...
9 years, 4 months ago (2011-08-10 15:41:24 UTC) #9
James Hawkins
LGTM with nits. http://codereview.chromium.org/7528027/diff/10014/chrome/browser/resources/certificate_viewer.js File chrome/browser/resources/certificate_viewer.js (right): http://codereview.chromium.org/7528027/diff/10014/chrome/browser/resources/certificate_viewer.js#newcode24 chrome/browser/resources/certificate_viewer.js:24: chrome.send('RequestCertificateInfo'); s/Request/request/ http://codereview.chromium.org/7528027/diff/10014/chrome/browser/resources/certificate_viewer.js#newcode49 chrome/browser/resources/certificate_viewer.js:49: for (var ...
9 years, 4 months ago (2011-08-12 19:58:26 UTC) #10
flackr
http://codereview.chromium.org/7528027/diff/10014/chrome/browser/resources/certificate_viewer.js File chrome/browser/resources/certificate_viewer.js (right): http://codereview.chromium.org/7528027/diff/10014/chrome/browser/resources/certificate_viewer.js#newcode24 chrome/browser/resources/certificate_viewer.js:24: chrome.send('RequestCertificateInfo'); On 2011/08/12 19:58:26, James Hawkins wrote: > s/Request/request/ ...
9 years, 4 months ago (2011-08-15 13:47:37 UTC) #11
commit-bot: I haz the power
9 years, 4 months ago (2011-08-16 16:18:22 UTC) #12
Change committed as 96955

Powered by Google App Engine
This is Rietveld 408576698