| OLD | NEW |
| (Empty) |
| 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 | |
| 10 class Browser; | |
| 11 class GlobalErrorBubbleViewBase; | |
| 12 class ProfileResetGlobalError; | |
| 13 | |
| 14 // Returns whether or not the profile reset bubble is supported on this | |
| 15 // platform. | |
| 16 bool IsProfileResetBubbleSupported(); | |
| 17 | |
| 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); | |
| 22 | |
| 23 #endif // CHROME_BROWSER_UI_PROFILE_RESET_BUBBLE_H_ | |
| OLD | NEW |