chromium/components/payments/core/native_error_strings.cc

// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "components/payments/core/native_error_strings.h"

namespace payments {
namespace errors {

const char kCannotAbortWithoutInit[] =;

const char kCannotAbortWithoutShow[] =;

const char kCannotCallCanMakePaymentWithoutInit[] =;

const char kCannotCallHasEnrolledInstrumentWithoutInit[] =;

const char kCannotCompleteWithoutInit[] =;

const char kCannotCompleteWithoutShow[] =;

const char kCannotResolveServiceWorkerScope[] =;

const char kCannotResolveServiceWorkerUrl[] =;

const char kCannotRetryWithoutInit[] =;

const char kCannotRetryWithoutShow[] =;

const char kCrossOriginPaymentMethodManifestNotAllowed[] =;

const char kCrossOriginServiceWorkerScopeNotAllowed[] =;

const char kCrossOriginServiceWorkerUrlNotAllowed[] =;

const char kCrossOriginWebAppManifestNotAllowed[] =;

const char kDetailedInvalidSslCertificateMessageFormat[] =;

const char kHttpStatusCodeNotAllowed[] =;

const char kInstallingMultipleDefaultAppsNotSupported[] =;

const char kInvalidInitiatorFrame[] =;

const char kInvalidManifestUrl[] =;

const char kInvalidServiceWorkerScope[] =;

const char kInvalidServiceWorkerUrl[] =;

const char kInvalidSslCertificate[] =;

const char kInvalidWebAppIcon[] =;

const char kMultiplePaymentMethodsNotSupportedFormat[] =;

const char kNoResponseToPaymentEvent[] =;

const char kNotInitialized[] =;

const char kNotShown[] =;

const char kPaymentManifestCrossSiteRedirectNotAllowed[] =;

const char kPaymentManifestDownloadFailed[] =;

const char kPaymentManifestDownloadFailedWithNetworkError[] =;

const char kPaymentManifestDownloadFailedWithHttpStatusCode[] =;

const char kPaymentManifestCSPDenied[] =;

const char kPaymentDetailsNotObject[] =;

const char kPaymentDetailsStringifyError[] =;

const char kPaymentEventBrowserError[] =;

const char kPaymentEventInternalError[] =;

const char kPaymentEventRejected[] =;

const char kReachedMaximumNumberOfRedirects[] =;

const char kPaymentEventServiceWorkerError[] =;

const char kPaymentEventTimeout[] =;

const char kPaymentHandlerInsecureNavigation[] =;

const char kPaymentHandlerInstallFailed[] =;

const char kPaymentHandlerActivityDied[] =;

const char kPaymentHandlerFailToLoadMainFrame[] =;

const char kSinglePaymentMethodNotSupportedFormat[] =;

const char kCanMakePaymentEventRejected[] =;

const char kCanMakePaymentEventTimeout[] =;

const char kCanMakePaymentEventNoResponse[] =;

const char kCanMakePaymentEventBooleanConversionError[] =;

const char kCanMakePaymentEventBrowserError[] =;

const char kCanMakePaymentEventInternalError[] =;

const char kCanMakePaymentEventNoUrlBasedPaymentMethods[] =;

const char kCanMakePaymentEventNotInstalled[] =;

const char kCanMakePaymentEventNoExplicitlyVerifiedMethods[] =;

const char kGenericPaymentMethodNotSupportedMessage[] =;

const char kNoLinkHeader[] =;

const char kNoContentAndNoLinkHeader[] =;

const char kNoContentInPaymentManifest[] =;

const char kUnableToInvokeAndroidPaymentApps[] =;

const char kUserClosedPaymentApp[] =;

const char kMoreThanOneService[] =;

const char kCredentialIdsRequired[] =;

const char kTimeoutTooLong[] =;

const char kChallengeRequired[] =;

const char kInstrumentRequired[] =;

const char kInstrumentDisplayNameRequired[] =;

const char kValidInstrumentIconRequired[] =;

const char kInvalidIcon[] =;

const char kRpIdRequired[] =;

const char kPayeeOriginOrPayeeNameRequired[] =;

const char kPayeeOriginMustBeHttps[] =;

const char kNetworkNameRequired[] =;

const char kValidNetworkIconRequired[] =;

const char kIssuerNameRequired[] =;

const char kValidIssuerIconRequired[] =;

}  // namespace errors
}  // namespace payments