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

Side by Side Diff: chrome/browser/resources/settings/people_page/people_page.js

Issue 2313103002: Added uma for pin unlock set up. (Closed)
Patch Set: Closure compiles. Created 4 years, 3 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 6 * @fileoverview
7 * 'settings-people-page' is the settings page containing sign-in settings. 7 * 'settings-people-page' is the settings page containing sign-in settings.
8 */ 8 */
9 Polymer({ 9 Polymer({
10 is: 'settings-people-page', 10 is: 'settings-people-page',
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
257 if (this.syncStatus.managed) 257 if (this.syncStatus.managed)
258 return; 258 return;
259 259
260 settings.navigateTo(settings.Route.SYNC); 260 settings.navigateTo(settings.Route.SYNC);
261 }, 261 },
262 262
263 <if expr="chromeos"> 263 <if expr="chromeos">
264 /** @private */ 264 /** @private */
265 onConfigureLockTap_: function() { 265 onConfigureLockTap_: function() {
266 settings.navigateTo(settings.Route.LOCK_SCREEN); 266 settings.navigateTo(settings.Route.LOCK_SCREEN);
267 recordLockScreenProgress(LockScreenProgress.START_SCREEN_LOCK);
jdufault 2016/09/13 22:28:35 I don't think this catches users who navigate dire
sammiequon 2016/09/14 02:00:56 Done.
267 }, 268 },
268 269
269 /** @private */ 270 /** @private */
270 onEasyUnlockSetupTap_: function() { 271 onEasyUnlockSetupTap_: function() {
271 this.easyUnlockBrowserProxy_.startTurnOnFlow(); 272 this.easyUnlockBrowserProxy_.startTurnOnFlow();
272 }, 273 },
273 274
274 /** @private */ 275 /** @private */
275 onEasyUnlockTurnOffTap_: function() { 276 onEasyUnlockTurnOffTap_: function() {
276 this.$$('#easyUnlockTurnOffDialog').open(); 277 this.$$('#easyUnlockTurnOffDialog').open();
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
349 350
350 /** 351 /**
351 * @param {string} iconUrl 352 * @param {string} iconUrl
352 * @return {string} A CSS imageset for multiple scale factors. 353 * @return {string} A CSS imageset for multiple scale factors.
353 * @private 354 * @private
354 */ 355 */
355 getIconImageset_: function(iconUrl) { 356 getIconImageset_: function(iconUrl) {
356 return cr.icon.getImage(iconUrl); 357 return cr.icon.getImage(iconUrl);
357 }, 358 },
358 }); 359 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698