Roll src/third_party/WebKit d9c6159:8139f33 (svn 201974:201975)
[chromium-blink-merge.git] / chrome / browser / resources / domain_reliability_internals.js
blobaecd47245cfabf156f26bbce34f49b9f7ee0238d
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.
5 cr.define('DomainReliabilityInternals', function() {
6 'use strict';
8 function initialize() {
9 chrome.send('updateData');
12 function onDataUpdated(data) {
13 jstProcess(new JsEvalContext(data), $('template'));
16 // Return an object with all of the exports.
17 return {
18 initialize: initialize,
19 onDataUpdated: onDataUpdated,
21 });
23 document.addEventListener('DOMContentLoaded',
24 DomainReliabilityInternals.initialize);