Home | History | Annotate | Download | only in policy

Lines Matching refs:bundle0

99   PolicyBundle bundle0;
102 AddTestPolicies(&bundle0.Get(
104 AddTestPolicies(&bundle0.Get(
106 EXPECT_FALSE(IsEmpty(bundle0));
111 EXPECT_TRUE(bundle0.Get(PolicyNamespace(POLICY_DOMAIN_CHROME,
113 EXPECT_TRUE(bundle0.Get(PolicyNamespace(POLICY_DOMAIN_EXTENSIONS,
116 bundle0.Swap(&bundle1);
117 EXPECT_TRUE(IsEmpty(bundle0));
125 bundle0.CopyFrom(bundle1);
126 EXPECT_FALSE(IsEmpty(bundle0));
128 EXPECT_TRUE(bundle0.Get(PolicyNamespace(POLICY_DOMAIN_CHROME,
130 EXPECT_TRUE(bundle0.Get(PolicyNamespace(POLICY_DOMAIN_EXTENSIONS,
137 // |bundle0| has the highest priority, |bundle2| the lowest.
138 PolicyBundle bundle0;
145 bundle0.Get(PolicyNamespace(POLICY_DOMAIN_CHROME, std::string()))
147 bundle0.Get(PolicyNamespace(POLICY_DOMAIN_EXTENSIONS, kExtension0))
149 bundle0.Get(PolicyNamespace(POLICY_DOMAIN_EXTENSIONS, kExtension3))
174 merged.MergeFrom(bundle0);
181 // - kPolicyClashing0 comes from bundle0, which has the highest priority;
200 // extension0 comes only from bundle0.