blob: b25c41d2fbe9baa0a002013aa96e32b0c20ef5ee [file] [log] [blame]
// Copyright 2015 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import {createLogsMapTable} from './logs_map_page.js';
function getSystemInformation():
Promise<chrome.feedbackPrivate.LogsMapEntry[]> {
return new Promise(
resolve => chrome.feedbackPrivate.getSystemInformation(resolve));
}
/**
* Initializes the page when the window is loaded.
*/
window.onload = function() {
getSystemInformation().then(createLogsMapTable);
};