#include "content/browser/service_worker/service_worker_registration_status.h"
#include <string>
#include "base/debug/crash_logging.h"
#include "base/notreached.h"
#include "base/strings/utf_string_conversions.h"
#include "third_party/blink/public/mojom/service_worker/service_worker_error_type.mojom.h"
namespace content {
WebServiceWorkerError;
void GetServiceWorkerErrorTypeForRegistration(
blink::ServiceWorkerStatusCode status,
const std::string& status_message,
blink::mojom::ServiceWorkerErrorType* out_error,
std::string* out_message) { … }
}