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

Unified Diff: chrome/test/base/testing_profile.h

Issue 12088040: Add a SigninAllowed policy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add tests and link UpdateLogin to kSigninAllowed pref. Created 7 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: chrome/test/base/testing_profile.h
diff --git a/chrome/test/base/testing_profile.h b/chrome/test/base/testing_profile.h
index 3161bfff139729270dc8885824f88d345d7100d9..823450103c291fc932370f963c2fa41c443e5eb6 100644
--- a/chrome/test/base/testing_profile.h
+++ b/chrome/test/base/testing_profile.h
@@ -204,6 +204,7 @@ class TestingProfile : public Profile {
void set_incognito(bool incognito) { incognito_ = incognito; }
// Assumes ownership.
virtual void SetOffTheRecordProfile(Profile* profile);
+ virtual void SetOriginalProfile(Profile* profile);
virtual Profile* GetOffTheRecordProfile() OVERRIDE;
virtual void DestroyOffTheRecordProfile() OVERRIDE {}
virtual bool HasOffTheRecordProfile() OVERRIDE;
@@ -327,6 +328,7 @@ class TestingProfile : public Profile {
bool incognito_;
scoped_ptr<Profile> incognito_profile_;
+ Profile* original_profile_;
// Did the last session exit cleanly? Default is true.
bool last_session_exited_cleanly_;

Powered by Google App Engine
This is Rietveld 408576698