#include "components/autofill/core/browser/payments/payments_service_url.h"
#include <string>
#include "base/command_line.h"
#include "base/format_macros.h"
#include "base/metrics/field_trial.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/string_util.h"
#include "base/strings/utf_string_conversions.h"
#include "components/autofill/core/common/autofill_payments_features.h"
#include "components/autofill/core/common/autofill_switches.h"
#include "google_apis/gaia/gaia_urls.h"
#include "net/base/url_util.h"
#include "url/gurl.h"
#include "url/origin.h"
namespace autofill {
namespace {
const char kProdPaymentsServiceUrl[] = …;
const char kSandboxPaymentsSecureServiceUrl[] = …;
const char kProdGooglePayScriptOrigin[] = …;
const char kSandboxGooglePayScriptOrigin[] = …;
const char kProdPaymentsManageCardsUrl[] = …;
const char kSandboxPaymentsManageCardsUrl[] = …;
const char kVirtualCardEnrollmentSupportUrl[] = …;
}
namespace payments {
bool IsPaymentsProductionEnabled() { … }
GURL GetBaseSecureUrl() { … }
url::Origin GetGooglePayScriptOrigin() { … }
GURL GetManageInstrumentsUrl() { … }
GURL GetManageInstrumentUrl(int64_t instrument_id) { … }
GURL GetManageAddressesUrl() { … }
GURL GetVirtualCardEnrollmentSupportUrl() { … }
}
}