          extension_ime_util::IsKeyboardLayoutExtension(input_method_id) &&
              delegate_->IsInLoginLayoutAllowlist(ime.layout),
          ime.options_page_url, ime.input_view_url));
    }
  }
  std::stable_sort(result.begin(), result.end(), InputMethodCompare);
  return result;
}

input_method::InputMethodDescriptors
ComponentExtensionIMEManager::GetXkbIMEAsInputMethodDescriptor() {
  input_method::InputMethodDescriptors result;