1// Copyright 2013 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef CHROME_BROWSER_UI_PROFILE_RESET_BUBBLE_H_
6#define CHROME_BROWSER_UI_PROFILE_RESET_BUBBLE_H_
7
8#include "base/memory/weak_ptr.h"
9
10class Browser;
11class GlobalErrorBubbleViewBase;
12class ProfileResetGlobalError;
13
14// Returns whether or not the profile reset bubble is supported on this
15// platform.
16bool IsProfileResetBubbleSupported();
17
18// Shows the profile reset bubble on the platforms that support it.
19GlobalErrorBubbleViewBase* ShowProfileResetBubble(
20    const base::WeakPtr<ProfileResetGlobalError>& global_error,
21    Browser* browser);
22
23#endif  // CHROME_BROWSER_UI_PROFILE_RESET_BUBBLE_H_
24