blob: 090f13f4ac7067628e8e12ad3bfa093b9b64f835 [file] [log] [blame]
// Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef PaymentHandlerUtils_h
#define PaymentHandlerUtils_h
#include "platform/wtf/Allocator.h"
#include "platform/wtf/text/WTFString.h"
#include "public/platform/modules/serviceworker/service_worker_error_type.mojom-shared.h"
namespace blink {
class ExecutionContext;
class PaymentHandlerUtils {
STATIC_ONLY(PaymentHandlerUtils);
public:
static void ReportResponseError(ExecutionContext*,
const String& event_name_prefix,
mojom::ServiceWorkerResponseError);
};
} // namespace blink
#endif // PaymentHandlerUtils_h