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

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: Fix compiler errors (cast size_t to int in WebUI code) 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('DomainReliabilityInternals', function() {
6 'use strict';
7
8 function initialize() {
9 chrome.send('updateData');
10 }
11
12 function onDataUpdated(data) {
13 jstProcess(new JsEvalContext(data), $('template'));
14 }
15
16 // Return an object with all of the exports.
17 return {
18 initialize: initialize,
19 onDataUpdated: onDataUpdated,
20 };
21 });
22
23 document.addEventListener('DOMContentLoaded',
24 DomainReliabilityInternals.initialize);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698