function check_result_factory(expected) {
  return function() {
    if (expected) {
      chrome.test.succeed();
    } else {
      chrome.test.fail();
    }
  };
}
// found in the LICENSE file.
found in the LICENSE file.
found in the LICENSE file .
function check_result_factory(expected) {
  return function() {
    if (expected) {
      chrome.test.succeed();
    } else {
      chrome.test.fail();
    }
  };
}
function check_result_factory ( expected ) { return function ( ) { if ( expected ) { chrome . test . succeed ( ) ; } else { chrome . test . fail ( ) ; } } ; }
found in the LICENSE file.
found in the LICENSE file .