// Copyright 2021 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/profile_metrics/browser_profile_type.h" #include <memory> #include "base/supports_user_data.h" namespace profile_metrics { namespace { class ProfileTypeUserData : public base::SupportsUserData::Data { … }; const void* const ProfileTypeUserData::kKey = …; } // namespace void SetBrowserProfileType(base::SupportsUserData* browser_context, BrowserProfileType type) { … } BrowserProfileType GetBrowserProfileType( const base::SupportsUserData* browser_context) { … } } // namespace profile_metrics