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
5cr.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
23document.addEventListener('DOMContentLoaded',
24    DomainReliabilityInternals.initialize);
25