function createDefaultContentSetting(override) {
    if (override === undefined)
      override = {};
    return Object.assign(
        {
          setting: settings.ContentSetting.ASK,
          source: settings.SiteSettingSource.PREFERENCE,
        },
        override);
  }
/**
   * Helper to create a mock DefaultContentSetting.
   * @param {!Object=} override An object with a subset of the properties of
   *     DefaultContentSetting. Properties defined in |override| will
   * overwrite the defaults in this function's return value.
   * @return {DefaultContentSetting}
   */
Helper to create a mock DefaultContentSetting.
@param {!Object=} override An object with a subset of the properties of
DefaultContentSetting. Properties defined in |override| will
overwrite the defaults in this function's return value.
Helper to create a mock DefaultContentSetting . @param { !Object = } override An object with a subset of the properties of DefaultContentSetting . Properties defined in |override| will overwrite the defaults in this function ' s return value .
function createDefaultContentSetting(override) {
    if (override === undefined)
      override = {};
    return Object.assign(
        {
          setting: settings.ContentSetting.ASK,
          source: settings.SiteSettingSource.PREFERENCE,
        },
        override);
  }
function createDefaultContentSetting ( override ) { if ( override === undefined ) override = { } ; return Object . assign ( { setting : settings . ContentSetting . ASK , source : settings . SiteSettingSource . PREFERENCE , } , override ) ; }
Helper to create a mock DefaultContentSetting.
Helper to create a mock DefaultContentSetting .