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

Side by Side Diff: chrome/browser/resources/settings/certificate_manager_page/certificate_entry.js

Issue 2101243004: [MD settings] certificate manager closure compilation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: adding file Created 4 years, 5 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** 5 /**
6 * @fileoverview An element that represents an SSL certificate entry. 6 * @fileoverview An element that represents an SSL certificate entry.
7 */ 7 */
8 Polymer({ 8 Polymer({
9 is: 'settings-certificate-entry', 9 is: 'settings-certificate-entry',
10 10
11 properties: { 11 properties: {
12 /** @type {!Certificate} */ 12 /** @type {!Certificate} */
13 model: Object, 13 model: Object,
14 14
15 /** @type {!settings.CertificateType} */ 15 /** @type {!CertificateType} */
16 certificateType: String, 16 certificateType: String,
17 }, 17 },
18 18
19 /** 19 /**
20 * @param {number} index 20 * @param {number} index
21 * @return {boolean} Whether the given index corresponds to the last sub-node. 21 * @return {boolean} Whether the given index corresponds to the last sub-node.
22 * @private 22 * @private
23 */ 23 */
24 isLast_: function(index) { 24 isLast_: function(index) {
25 return index == this.model.subnodes.length - 1; 25 return index == this.model.subnodes.length - 1;
26 }, 26 },
27 }); 27 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698