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

Side by Side Diff: chrome/browser/resources/signin/signin_dice_internals/signin_dice_internals.js

Issue 2943093002: Add internals page for DICE (Closed)
Patch Set: Fix compile error Created 3 years, 6 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
(Empty)
1 /* Copyright 2017 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. */
4
5 cr.define('signin.dice', function() {
6 'use strict';
7
8 function initialize() {
9 $('enableSyncButton').addEventListener('click', onEnableSync);
10 }
11
12 function onEnableSync(e) {
13 chrome.send('enableSync');
14 }
15
16 return {
17 initialize: initialize,
18 };
19 });
20
21 document.addEventListener('DOMContentLoaded', signin.dice.initialize);
OLDNEW
« no previous file with comments | « chrome/browser/resources/signin/signin_dice_internals/signin_dice_internals.html ('k') | chrome/browser/ui/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698