blob: a487e9a4f3a97964bdb899fb181ffc0d7fa28647 [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 "third_party/WebKit/public/mojom/service_worker/service_worker_error_type.mojom-blink.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