// 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/key_management/core/network/util.h" namespace enterprise_connectors { namespace { // This error occurs when a public key already exists on the server for the // current device, and the key in the upload request is not signed by the key // that already exists. constexpr KeyNetworkDelegate::HttpResponseCode kKeyConflictCode = …; } // namespace class KeyNetworkDelegate; UploadKeyStatus ParseUploadKeyStatus( KeyNetworkDelegate::HttpResponseCode response_code) { … } } // namespace enterprise_connectors