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

Side by Side Diff: chrome/browser/resources/domain_reliability_internals.js

Issue 357103002: Domain Reliability: Add rudimentary WebUI page. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright 2014 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('domain_reliability_internals', function() {
Bernhard Bauer 2014/06/28 11:16:34 You're using this roughly as a class with static m
Deprecated (see juliatuttle) 2014/06/30 16:58:20 Done.
6 'use strict';
7
8 function initialize() {
9 chrome.send('updateData');
10 }
11
12 function onDataUpdated(data) {
13 //alert(JSON.stringify(data));
Bernhard Bauer 2014/06/28 11:16:34 Remove.
Deprecated (see juliatuttle) 2014/06/30 16:58:20 Done.
14 jstProcess(new JsEvalContext(data), $('template'));
15 }
16
17 // Return an object with all of the exports.
18 return {
19 initialize: initialize,
20 onDataUpdated: onDataUpdated,
21 };
22 });
23
24 document.addEventListener('DOMContentLoaded',
25 domain_reliability_internals.initialize);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698