'use strict';


/* globals chrome, gwt */
//mock storage.local API
if (!chrome.history) {
  let functions = 'chrome.history.search(query,callback);chrome.history.getVisits(details,' +
    'callback);chrome.history.addUrl(details,callback);chrome.history.deleteUrl(details,' +
    'callback);chrome.history.deleteRange(range,callback);chrome.history.deleteAll(callback);' +
    'chrome.history.onVisited.addListener(callback);chrome.history.onVisitRemoved.addListener(' +
    'callback)';
  gwt.dev.chrome.registerAPI(functions.split(';'));
}
