Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(40)

Side by Side Diff: chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc

Issue 272763002: Make code for the AutomaticProfileResetter more readabile (readability review) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698