chromium/chrome/browser/enterprise/connectors/device_trust/common/device_trust_constants.cc

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

#include "chrome/browser/enterprise/connectors/device_trust/common/device_trust_constants.h"

namespace enterprise_connectors {

namespace errors {

const char kMissingCoreSignals[] =;
const char kMissingSigningKey[] =;
const char kBadChallengeFormat[] =;
const char kBadChallengeSource[] =;
const char kFailedToSerializeKeyInfo[] =;
const char kFailedToGenerateResponse[] =;
const char kFailedToSignResponse[] =;
const char kFailedToSerializeResponse[] =;
const char kEmptySerializedResponse[] =;
const char kFailedToSerializeSignals[] =;

const char kUnknown[] =;
const char kTimeout[] =;
const char kFailedToParseChallenge[] =;
const char kFailedToCreateResponse[] =;

}  // namespace errors

namespace timeouts {

// Overall timeout for the Device Trust handshake flow.
const base::TimeDelta kHandshakeTimeout =;

// Timeout for when the browser is waiting for another process to do some key
// management operation.
const base::TimeDelta kProcessWaitTimeout =;

// Timeout for when trying to upload the public key.
const base::TimeDelta kKeyUploadTimeout =;

}  // namespace timeouts

}  // namespace enterprise_connectors