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/profile_resetter/automatic_profile_resetter_delegate.h" | 5 #include "chrome/browser/profile_resetter/automatic_profile_resetter_delegate.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 | 8 |
9 #include "base/bind.h" | 9 #include "base/bind.h" |
10 #include "base/bind_helpers.h" | 10 #include "base/bind_helpers.h" |
(...skipping 604 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
615 if (ProfileResetGlobalError::IsSupportedOnPlatform()) | 615 if (ProfileResetGlobalError::IsSupportedOnPlatform()) |
616 ExpectResetPromptState(true /*active*/); | 616 ExpectResetPromptState(true /*active*/); |
617 else | 617 else |
618 ExpectResetPromptState(false /*active*/); | 618 ExpectResetPromptState(false /*active*/); |
619 resetter_delegate()->DismissPrompt(); | 619 resetter_delegate()->DismissPrompt(); |
620 ExpectResetPromptState(false /*active*/); | 620 ExpectResetPromptState(false /*active*/); |
621 resetter_delegate()->DismissPrompt(); | 621 resetter_delegate()->DismissPrompt(); |
622 } | 622 } |
623 | 623 |
624 } // namespace | 624 } // namespace |
| 625 |
OLD | NEW |