Lines Matching refs:get
51 ProcessManager::Create(original_profile.get()));
53 EXPECT_EQ(original_profile.get(), manager1->GetBrowserContext());
57 EXPECT_TRUE(IsRegistered(manager1.get(),
59 original_profile.get()));
60 EXPECT_TRUE(IsRegistered(manager1.get(),
62 original_profile.get()));
63 EXPECT_TRUE(IsRegistered(manager1.get(),
65 original_profile.get()));
66 EXPECT_TRUE(IsRegistered(manager1.get(),
68 original_profile.get()));
74 incognito_profile->SetOriginalProfile(original_profile.get());
76 ProcessManager::Create(incognito_profile.get()));
78 EXPECT_EQ(incognito_profile.get(), manager2->GetBrowserContext());
82 EXPECT_TRUE(IsRegistered(manager2.get(),
84 original_profile.get()));
87 EXPECT_TRUE(IsRegistered(manager2.get(),
89 incognito_profile.get()));
92 EXPECT_TRUE(IsRegistered(manager2.get(),
94 original_profile.get()));
95 EXPECT_TRUE(IsRegistered(manager2.get(),
97 incognito_profile.get()));
100 EXPECT_FALSE(IsRegistered(manager2.get(),
102 original_profile.get()));
105 EXPECT_TRUE(IsRegistered(manager2.get(),
107 incognito_profile.get()));
110 // Test that extensions get grouped in the right SiteInstance (and therefore
115 // functionality. This means we can get away with a NULL UserScriptMaster.