blob: b2b1db7265966a4a0b9b1b4042b54cbf8301c782 [file] [log] [blame]
// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_UI_PROFILES_PROFILE_CUSTOMIZATION_BUBBLE_SYNC_CONTROLLER_H_
#define CHROME_BROWSER_UI_PROFILES_PROFILE_CUSTOMIZATION_BUBBLE_SYNC_CONTROLLER_H_
#include "third_party/skia/include/core/SkColor.h"
class Browser;
// Implemented in
// chrome/browser/ui/views/profiles/profile_customization_bubble_sync_controller.cc
void ApplyProfileColorAndShowCustomizationBubbleWhenNoValueSynced(
Browser* browser,
SkColor suggested_profile_color);
// Returns whether the controller triggered by
// `ApplyProfileColorAndShowCustomizationBubbleWhenNoValueSynced()` is currently
// running in background. This is useful for determining whether the profile
// customization UI might be shown soon in `browser`.
// Implemented in
// chrome/browser/ui/views/profiles/profile_customization_bubble_sync_controller.cc
bool IsProfileCustomizationBubbleSyncControllerRunning(Browser* browser);
#endif // CHROME_BROWSER_UI_PROFILES_PROFILE_CUSTOMIZATION_BUBBLE_SYNC_CONTROLLER_H_