function initProtocolEventLog() {
    var includeSpecificsCheckbox = $('capture-specifics');
    includeSpecificsCheckbox.addEventListener('change', function(event) {
      chrome.sync.setIncludeSpecifics(includeSpecificsCheckbox.checked);
    });

    chrome.sync.events.addEventListener(
        'onProtocolEvent', onReceivedProtocolEvent);

    // Make the prototype jscontent element disappear.
    jstProcess({}, $('traffic-event-container'));

    var triggerRefreshButton = $('trigger-refresh');
    triggerRefreshButton.addEventListener('click', function(event) {
      chrome.sync.triggerRefresh();
    });
  }
/**
   * Initializes state and callbacks for the protocol event log UI.
   */
Initializes state and callbacks for the protocol event log UI.
Initializes state and callbacks for the protocol event log UI .
function initProtocolEventLog() {
    var includeSpecificsCheckbox = $('capture-specifics');
    includeSpecificsCheckbox.addEventListener('change', function(event) {
      chrome.sync.setIncludeSpecifics(includeSpecificsCheckbox.checked);
    });
    chrome.sync.events.addEventListener(
        'onProtocolEvent', onReceivedProtocolEvent);
    jstProcess({}, $('traffic-event-container'));
    var triggerRefreshButton = $('trigger-refresh');
    triggerRefreshButton.addEventListener('click', function(event) {
      chrome.sync.triggerRefresh();
    });
  }
function initProtocolEventLog ( ) { var includeSpecificsCheckbox = $ ( 'capture-specifics' ) ; includeSpecificsCheckbox . addEventListener ( 'change' , function ( event ) { chrome . sync . setIncludeSpecifics ( includeSpecificsCheckbox . checked ) ; } ) ; chrome . sync . events . addEventListener ( 'onProtocolEvent' , onReceivedProtocolEvent ) ; jstProcess ( { } , $ ( 'traffic-event-container' ) ) ; var triggerRefreshButton = $ ( 'trigger-refresh' ) ; triggerRefreshButton . addEventListener ( 'click' , function ( event ) { chrome . sync . triggerRefresh ( ) ; } ) ; }
Initializes state and callbacks for the protocol event log UI.
Initializes state and callbacks for the protocol event log UI .
// Make the prototype jscontent element disappear.