blob: 32fbc0a27836ab579c9001bed621d3d5043e5d18 [file] [log] [blame]
// Copyright 2018 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.
#include <string>
#include "base/optional.h"
#include "components/policy/core/common/cloud/cloud_policy_constants.h"
namespace google_brand {
namespace chromeos {
// Returns |static_brand_code| if it is not found in the map. Otherwise, returns
// a variation of the brand code based on |market_segment| (an empty value
// indicates the device is not enrolled).
std::string GetRlzBrandCode(
const std::string& static_brand_code,
base::Optional<policy::MarketSegment> market_segment);
} // namespace chromeos
} // namespace google_brand