| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/browser/ui/views/profile_reset_bubble_view.h" | 5 #include "chrome/browser/ui/views/profiles/profile_reset_bubble_view.h" |
| 6 | 6 |
| 7 #include "chrome/app/chrome_command_ids.h" | 7 #include "chrome/app/chrome_command_ids.h" |
| 8 #include "chrome/browser/google/google_util.h" | 8 #include "chrome/browser/google/google_util.h" |
| 9 #include "chrome/browser/profile_resetter/profile_reset_global_error.h" | 9 #include "chrome/browser/profile_resetter/profile_reset_global_error.h" |
| 10 #include "chrome/browser/profile_resetter/resettable_settings_snapshot.h" | 10 #include "chrome/browser/profile_resetter/resettable_settings_snapshot.h" |
| 11 #include "chrome/browser/ui/global_error/global_error_service.h" | 11 #include "chrome/browser/ui/global_error/global_error_service.h" |
| 12 #include "chrome/browser/ui/global_error/global_error_service_factory.h" | 12 #include "chrome/browser/ui/global_error/global_error_service_factory.h" |
| 13 #include "chrome/browser/ui/profile_reset_bubble.h" | 13 #include "chrome/browser/ui/profile_reset_bubble.h" |
| 14 #include "chrome/browser/ui/views/frame/browser_view.h" | 14 #include "chrome/browser/ui/views/frame/browser_view.h" |
| 15 #include "chrome/browser/ui/views/toolbar/toolbar_view.h" | 15 #include "chrome/browser/ui/views/toolbar/toolbar_view.h" |
| (...skipping 421 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 437 | 437 |
| 438 bool IsProfileResetBubbleSupported() { | 438 bool IsProfileResetBubbleSupported() { |
| 439 return true; | 439 return true; |
| 440 } | 440 } |
| 441 | 441 |
| 442 GlobalErrorBubbleViewBase* ShowProfileResetBubble( | 442 GlobalErrorBubbleViewBase* ShowProfileResetBubble( |
| 443 const base::WeakPtr<ProfileResetGlobalError>& global_error, | 443 const base::WeakPtr<ProfileResetGlobalError>& global_error, |
| 444 Browser* browser) { | 444 Browser* browser) { |
| 445 return ProfileResetBubbleView::ShowBubble(global_error, browser); | 445 return ProfileResetBubbleView::ShowBubble(global_error, browser); |
| 446 } | 446 } |
| OLD | NEW |