| Index: chrome/browser/profile_resetter/profile_resetter.cc
|
| diff --git a/chrome/browser/profile_resetter/profile_resetter.cc b/chrome/browser/profile_resetter/profile_resetter.cc
|
| index 4145418ca7eb891709a272e593afe09acdc7a778..99011283a480b37b88b32206b40eda02d980d718 100644
|
| --- a/chrome/browser/profile_resetter/profile_resetter.cc
|
| +++ b/chrome/browser/profile_resetter/profile_resetter.cc
|
| @@ -61,6 +61,11 @@ void ProfileResetter::Reset(ProfileResetter::ResettableFlags resettable_flags,
|
| DCHECK_EQ(resettable_flags, reset_triggered_for_flags);
|
| }
|
|
|
| +bool ProfileResetter::IsActive() const {
|
| + DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::UI));
|
| + return pending_reset_flags_ != 0;
|
| +}
|
| +
|
| void ProfileResetter::MarkAsDone(Resettable resettable) {
|
| DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::UI));
|
|
|
|
|