chromium/chrome/browser/ui/views/theme_profile_key.cc

// Copyright 2017 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/ui/views/theme_profile_key.h"

#include "base/memory/raw_ptr.h"
#include "base/scoped_observation.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/profiles/profile_observer.h"
#include "ui/aura/window.h"
#include "ui/base/class_property.h"

namespace {

// A wrapper around Profile* that resets to nullptr when the Profile is
// destroyed, much like a WeakPtr. This is not thread-safe.
class ProfileTracker : public ProfileObserver {};

}  // namespace

DEFINE_UI_CLASS_PROPERTY_TYPE()

DEFINE_OWNED_UI_CLASS_PROPERTY_KEY()

void SetThemeProfileForWindow(aura::Window* window, Profile* profile) {}

Profile* GetThemeProfileForWindow(aura::Window* window) {}