[Metrics] Make MetricsStateManager take a callback param to check if UMA is enabled.
[chromium-blink-merge.git] / chrome / browser / ui / profile_reset_bubble.h
blobad0bb2e128eff21aa0a448e5239e719dd3ff59fb
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.
5 #ifndef CHROME_BROWSER_UI_PROFILE_RESET_BUBBLE_H_
6 #define CHROME_BROWSER_UI_PROFILE_RESET_BUBBLE_H_
8 #include "base/memory/weak_ptr.h"
10 class Browser;
11 class GlobalErrorBubbleViewBase;
12 class ProfileResetGlobalError;
14 // Returns whether or not the profile reset bubble is supported on this
15 // platform.
16 bool IsProfileResetBubbleSupported();
18 // Shows the profile reset bubble on the platforms that support it.
19 GlobalErrorBubbleViewBase* ShowProfileResetBubble(
20 const base::WeakPtr<ProfileResetGlobalError>& global_error,
21 Browser* browser);
23 #endif // CHROME_BROWSER_UI_PROFILE_RESET_BUBBLE_H_