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

Unified Diff: chrome/browser/ui/cocoa/profiles/avatar_icon_controller_unittest.mm

Issue 316863002: Rename "managed (mode|user)" to "supervised user" (part 1) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 6 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/browser/ui/cocoa/profiles/avatar_icon_controller_unittest.mm
diff --git a/chrome/browser/ui/cocoa/profiles/avatar_icon_controller_unittest.mm b/chrome/browser/ui/cocoa/profiles/avatar_icon_controller_unittest.mm
index 6c36ae16c4ac55604169772c368d40602155e117..db4083be9efc093dd1a3f08655a7f5f568e983c1 100644
--- a/chrome/browser/ui/cocoa/profiles/avatar_icon_controller_unittest.mm
+++ b/chrome/browser/ui/cocoa/profiles/avatar_icon_controller_unittest.mm
@@ -92,16 +92,16 @@ TEST_F(AvatarIconControllerTest, DoubleOpen) {
testing_profile_manager()->DeleteTestingProfile("p2");
}
-TEST_F(AvatarIconControllerTest, ManagedUserLabel) {
- DCHECK(!profile()->IsManaged());
+TEST_F(AvatarIconControllerTest, SupervisedUserLabel) {
+ DCHECK(!profile()->IsSupervised());
EXPECT_FALSE([controller() labelButtonView]);
- // Create a second, managed profile to enable the avatar menu.
+ // Create a second, supervised profile to enable the avatar menu.
std::string name = "p2";
TestingProfile* profile = testing_profile_manager()->CreateTestingProfile(
name, scoped_ptr<PrefServiceSyncable>(), base::ASCIIToUTF16(name), 0,
"asdf", TestingProfile::TestingFactories());
- EXPECT_TRUE(profile->IsManaged());
+ EXPECT_TRUE(profile->IsSupervised());
// http://crbug.com/39725
TemplateURLServiceFactory::GetInstance()->SetTestingFactoryAndUse(
@@ -115,7 +115,7 @@ TEST_F(AvatarIconControllerTest, ManagedUserLabel) {
Browser* browser =
new Browser(Browser::CreateParams(profile, chrome::GetActiveDesktop()));
// Build a new controller to check if it is initialized correctly for a
- // managed user profile.
+ // supervised user profile.
base::scoped_nsobject<AvatarIconController> controller(
[[AvatarIconController alloc] initWithBrowser:browser]);
« no previous file with comments | « chrome/browser/ui/cocoa/profiles/avatar_icon_controller.mm ('k') | chrome/browser/ui/cocoa/profiles/avatar_label_button.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698