Index: chrome/test/base/testing_profile.cc |
diff --git a/chrome/test/base/testing_profile.cc b/chrome/test/base/testing_profile.cc |
index 12ecbe99e8f953e20b415a299160ee79500a9a04..3693fb440ce681607e614dd4087fa26a8ad291a5 100644 |
--- a/chrome/test/base/testing_profile.cc |
+++ b/chrome/test/base/testing_profile.cc |
@@ -766,6 +766,10 @@ Profile* TestingProfile::GetOriginalProfile() { |
return this; |
} |
+void TestingProfile::SetSupervisedUserId(const std::string& id) { |
+ supervised_user_id_ = id; |
Bernhard Bauer
2015/04/09 12:15:05
You could change the pref from here :)
Marc Treib
2015/04/09 12:37:27
Done.
|
+} |
+ |
bool TestingProfile::IsSupervised() { |
return !supervised_user_id_.empty(); |
} |