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]); |