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

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

Issue 1078713002: Supervised users: Re-check ManagementPolicy when ProfileIsSupervised changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: shaving the yak Created 5 years, 8 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 c787796e0bc51ccd06f7d1d975e620bcd2b8bc5e..322a7b0b889c8f6be66fc20ba4d7499f076b85ac 100644
--- a/chrome/test/base/testing_profile.h
+++ b/chrome/test/base/testing_profile.h
@@ -217,6 +217,8 @@ class TestingProfile : public Profile {
// to provide an OffTheRecordProfileImpl instance.
void SetOffTheRecordProfile(scoped_ptr<Profile> profile);
+ void SetSupervisedUserId(const std::string& id);
+
// content::BrowserContext
base::FilePath GetPath() const override;
scoped_ptr<content::ZoomLevelDelegate> CreateZoomLevelDelegate(
« no previous file with comments | « chrome/browser/ui/cocoa/profiles/profile_menu_controller_unittest.mm ('k') | chrome/test/base/testing_profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698