policy_ 74 chrome/browser/chromeos/policy/cloud_external_data_policy_observer.cc .Get(parent_->policy_); policy_ 91 chrome/browser/chromeos/policy/cloud_external_data_policy_observer.cc const PolicyMap::Entry* previous_entry = previous.Get(parent_->policy_); policy_ 92 chrome/browser/chromeos/policy/cloud_external_data_policy_observer.cc const PolicyMap::Entry* current_entry = current.Get(parent_->policy_); policy_ 131 chrome/browser/chromeos/policy/cloud_external_data_policy_observer.cc policy_(policy), policy_ 219 chrome/browser/chromeos/policy/cloud_external_data_policy_observer.cc broker->core()->store()->policy_map().Get(policy_); policy_ 289 chrome/browser/chromeos/policy/cloud_external_data_policy_observer.cc delegate_->OnExternalDataCleared(policy_, user_id); policy_ 294 chrome/browser/chromeos/policy/cloud_external_data_policy_observer.cc delegate_->OnExternalDataSet(policy_, user_id); policy_ 314 chrome/browser/chromeos/policy/cloud_external_data_policy_observer.cc delegate_->OnExternalDataFetched(policy_, user_id, data.Pass()); policy_ 115 chrome/browser/chromeos/policy/cloud_external_data_policy_observer.h std::string policy_; policy_ 28 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos_unittest.cc PolicyMap policy_; policy_ 54 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos_unittest.cc handler_.ApplyPolicySettings(policy_, &prefs_); policy_ 60 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos_unittest.cc policy_.Set(key::kScreenMagnifierType, policy_ 65 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos_unittest.cc handler_.ApplyPolicySettings(policy_, &prefs_); policy_ 79 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos_unittest.cc policy_.Set(key::kScreenMagnifierType, policy_ 84 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos_unittest.cc handler_.ApplyPolicySettings(policy_, &prefs_); policy_ 139 chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos.cc policy_.reset(new em::PolicyData()); policy_ 141 chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos.cc policy_->MergeFrom(*device_settings_service_->policy_data()); policy_ 206 chrome/browser/chromeos/policy/enrollment_handler_chromeos.cc policy_ = validator->policy().Pass(); policy_ 368 chrome/browser/chromeos/policy/enrollment_handler_chromeos.cc store_->InstallInitialPolicy(*policy_); policy_ 164 chrome/browser/chromeos/policy/enrollment_handler_chromeos.h scoped_ptr<enterprise_management::PolicyFetchResponse> policy_; policy_ 374 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos_unittest.cc store_->policy_.reset(new em::PolicyData(policy_data_)); policy_ 573 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos_unittest.cc store_->policy_.reset(new em::PolicyData(policy_data_)); policy_ 103 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.cc scoped_ptr<em::PolicyFetchResponse> policy_; policy_ 148 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.cc policy_.reset(new em::PolicyFetchResponse(policy.cloud_policy())); policy_ 158 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.cc callback_.Run(dm_token_, device_id_, status_, policy_.Pass()); policy_ 352 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.cc policy_.reset(); policy_ 459 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.cc policy_->clear_public_key_version(); policy_ 474 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.cc if (!policy_.get()) policy_ 475 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.cc policy_.reset(new em::PolicyData()); policy_ 476 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.cc policy_->set_request_token(dm_token); policy_ 477 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.cc policy_->set_device_id(device_id); policy_ 78 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc ASSERT_TRUE(policy_.GetSigningKey()->ExportPublicKey(&public_key)); policy_ 81 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc policy_.payload().mutable_homepagelocation()->set_value(kDefaultHomepage); policy_ 82 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc policy_.Build(); policy_ 148 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc policy_.GetBlob(), _, _)) policy_ 150 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc store_->Store(policy_.policy()); policy_ 186 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc retrieve_callback.Run(policy_.GetBlob()); policy_ 189 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc EXPECT_EQ(policy_.policy_data().SerializeAsString(), policy_ 226 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc UserPolicyBuilder policy_; policy_ 240 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc policy_.SetDefaultNewSigningKey(); policy_ 241 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc policy_.Build(); policy_ 243 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc ASSERT_TRUE(policy_.GetNewSigningKey()->ExportPublicKey(&new_public_key)); policy_ 255 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc policy_.SetDefaultNewSigningKey(); policy_ 256 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc policy_.Build(); policy_ 258 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc ASSERT_TRUE(policy_.GetNewSigningKey()->ExportPublicKey(&new_public_key)); policy_ 268 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc policy_.GetBlob(), _, _)) policy_ 270 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc store_->Store(policy_.policy()); policy_ 285 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc policy_.policy_data().clear_policy_type(); policy_ 286 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc policy_.Build(); policy_ 293 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc policy_.GetBlob(), _, _)) policy_ 295 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc store_->Store(policy_.policy()); policy_ 314 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc policy_.GetBlob(), _, _)) policy_ 316 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc store_->Store(policy_.policy()); policy_ 323 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc policy_.policy().mutable_policy_data_signature()->append("garbage"); policy_ 330 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc policy_.GetBlob(), _, _)) policy_ 332 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc store_->Store(policy_.policy()); policy_ 339 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc ASSERT_NO_FATAL_FAILURE(PerformPolicyLoad(policy_.GetBlob())); policy_ 344 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc EXPECT_EQ(policy_.policy_data().SerializeAsString(), policy_ 372 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc policy_.policy_data().clear_policy_type(); policy_ 373 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc policy_.Build(); policy_ 376 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc ASSERT_NO_FATAL_FAILURE(PerformPolicyLoad(policy_.GetBlob())); policy_ 384 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc ASSERT_NO_FATAL_FAILURE(PerformPolicyLoad(policy_.GetBlob())); policy_ 390 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc policy_.policy().mutable_policy_data_signature()->append("garbage"); policy_ 392 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc ASSERT_NO_FATAL_FAILURE(PerformPolicyLoad(policy_.GetBlob())); policy_ 406 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc cached_policy.mutable_cloud_policy()->CopyFrom(policy_.policy()); policy_ 433 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc cached_policy.mutable_cloud_policy()->CopyFrom(policy_.policy()); policy_ 483 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc cached_policy.mutable_cloud_policy()->CopyFrom(policy_.policy()); policy_ 505 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc policy_.payload().mutable_homepagelocation()->set_value(kNewHomepage); policy_ 506 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc policy_.SetDefaultNewSigningKey(); policy_ 507 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc policy_.Build(); policy_ 509 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc ASSERT_TRUE(policy_.GetNewSigningKey()->ExportPublicKey(&new_public_key)); policy_ 522 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc .WillOnce(Return(policy_.GetBlob())); policy_ 538 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc EXPECT_EQ(policy_.policy_data().SerializeAsString(), policy_ 580 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc .WillOnce(Return(policy_.GetBlob())); policy_ 600 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc .WillOnce(Return(policy_.GetBlob())); policy_ 21 chrome/browser/chromeos/settings/device_settings_cache_unittest.cc policy_.set_policy_type("google/chromeos/device"); policy_ 24 chrome/browser/chromeos/settings/device_settings_cache_unittest.cc policy_.set_policy_value(pol.SerializeAsString()); policy_ 30 chrome/browser/chromeos/settings/device_settings_cache_unittest.cc em::PolicyData policy_; policy_ 34 chrome/browser/chromeos/settings/device_settings_cache_unittest.cc EXPECT_TRUE(device_settings_cache::Store(policy_, &local_state_)); policy_ 49 chrome/browser/chromeos/settings/device_settings_cache_unittest.cc EXPECT_TRUE(device_settings_cache::Store(policy_, &local_state_)); policy_ 230 chrome/browser/chromeos/settings/session_manager_operation.cc policy_(policy.Pass()), policy_ 237 chrome/browser/chromeos/settings/session_manager_operation.cc policy_->SerializeAsString(), policy_ 157 chrome/browser/chromeos/settings/session_manager_operation.h scoped_ptr<enterprise_management::PolicyFetchResponse> policy_; policy_ 41 chrome/browser/chromeos/settings/session_manager_operation_unittest.cc policy_.payload().mutable_pinned_apps()->add_app_id("fake-app"); policy_ 42 chrome/browser/chromeos/settings/session_manager_operation_unittest.cc policy_.Build(); policy_ 53 chrome/browser/chromeos/settings/session_manager_operation_unittest.cc policy_.payload().SerializeAsString()); policy_ 61 chrome/browser/chromeos/settings/session_manager_operation_unittest.cc ASSERT_TRUE(policy_.GetSigningKey()->ExportPublicKey(&public_key)); policy_ 69 chrome/browser/chromeos/settings/session_manager_operation_unittest.cc ASSERT_TRUE(policy_.GetSigningKey()->ExportPrivateKey(&expected_key)); policy_ 80 chrome/browser/chromeos/settings/session_manager_operation_unittest.cc policy::DevicePolicyBuilder policy_; policy_ 110 chrome/browser/chromeos/settings/session_manager_operation_unittest.cc owner_key_util_->SetPublicKeyFromPrivateKey(*policy_.GetSigningKey()); policy_ 126 chrome/browser/chromeos/settings/session_manager_operation_unittest.cc owner_key_util_->SetPublicKeyFromPrivateKey(*policy_.GetSigningKey()); policy_ 127 chrome/browser/chromeos/settings/session_manager_operation_unittest.cc device_settings_test_helper_.set_policy_blob(policy_.GetBlob()); policy_ 140 chrome/browser/chromeos/settings/session_manager_operation_unittest.cc EXPECT_EQ(policy_.policy_data().SerializeAsString(), policy_ 143 chrome/browser/chromeos/settings/session_manager_operation_unittest.cc EXPECT_EQ(policy_.payload().SerializeAsString(), policy_ 148 chrome/browser/chromeos/settings/session_manager_operation_unittest.cc owner_key_util_->SetPrivateKey(policy_.GetSigningKey()); policy_ 165 chrome/browser/chromeos/settings/session_manager_operation_unittest.cc owner_key_util_->SetPrivateKey(policy_.GetSigningKey()); policy_ 166 chrome/browser/chromeos/settings/session_manager_operation_unittest.cc device_settings_test_helper_.set_policy_blob(policy_.GetBlob()); policy_ 180 chrome/browser/chromeos/settings/session_manager_operation_unittest.cc policy_.SetSigningKey(*policy::PolicyBuilder::CreateTestOtherSigningKey()); policy_ 181 chrome/browser/chromeos/settings/session_manager_operation_unittest.cc policy_.payload().mutable_metrics_enabled()->set_metrics_enabled(true); policy_ 182 chrome/browser/chromeos/settings/session_manager_operation_unittest.cc policy_.Build(); policy_ 183 chrome/browser/chromeos/settings/session_manager_operation_unittest.cc device_settings_test_helper_.set_policy_blob(policy_.GetBlob()); policy_ 184 chrome/browser/chromeos/settings/session_manager_operation_unittest.cc owner_key_util_->SetPrivateKey(policy_.GetSigningKey()); policy_ 199 chrome/browser/chromeos/settings/session_manager_operation_unittest.cc EXPECT_EQ(policy_.policy_data().SerializeAsString(), policy_ 202 chrome/browser/chromeos/settings/session_manager_operation_unittest.cc EXPECT_EQ(policy_.payload().SerializeAsString(), policy_ 207 chrome/browser/chromeos/settings/session_manager_operation_unittest.cc owner_key_util_->SetPublicKeyFromPrivateKey(*policy_.GetSigningKey()); policy_ 211 chrome/browser/chromeos/settings/session_manager_operation_unittest.cc policy_.GetCopy()); policy_ 221 chrome/browser/chromeos/settings/session_manager_operation_unittest.cc policy_.GetBlob()); policy_ 223 chrome/browser/chromeos/settings/session_manager_operation_unittest.cc EXPECT_EQ(policy_.policy_data().SerializeAsString(), policy_ 226 chrome/browser/chromeos/settings/session_manager_operation_unittest.cc EXPECT_EQ(policy_.payload().SerializeAsString(), policy_ 232 chrome/browser/chromeos/settings/session_manager_operation_unittest.cc owner_key_util_->SetPrivateKey(policy_.GetSigningKey()); policy_ 237 chrome/browser/chromeos/settings/session_manager_operation_unittest.cc new em::ChromeDeviceSettingsProto(policy_.payload())), policy_ 238 chrome/browser/chromeos/settings/session_manager_operation_unittest.cc policy_.policy_data().username()); policy_ 257 chrome/browser/chromeos/settings/session_manager_operation_unittest.cc validator->ValidateUsername(policy_.policy_data().username(), true); policy_ 265 chrome/browser/chromeos/settings/session_manager_operation_unittest.cc policy_.GetSigningKey()->ExportPublicKey(&public_key); policy_ 291 chrome/browser/chromeos/settings/session_manager_operation_unittest.cc EXPECT_EQ(policy_.policy_data().username(), op.policy_data()->username()); policy_ 295 chrome/browser/chromeos/settings/session_manager_operation_unittest.cc EXPECT_EQ(policy_.payload().SerializeAsString(), policy_ 96 chrome/browser/extensions/extension_special_storage_policy_unittest.cc policy_ = new ExtensionSpecialStoragePolicy(NULL); policy_ 169 chrome/browser/extensions/extension_special_storage_policy_unittest.cc const ExtensionSet* extensions = policy_->ExtensionsProtectingOrigin(url); policy_ 179 chrome/browser/extensions/extension_special_storage_policy_unittest.cc scoped_refptr<ExtensionSpecialStoragePolicy> policy_; policy_ 187 chrome/browser/extensions/extension_special_storage_policy_unittest.cc EXPECT_FALSE(policy_->IsStorageUnlimited(kHttpUrl)); policy_ 188 chrome/browser/extensions/extension_special_storage_policy_unittest.cc EXPECT_FALSE(policy_->IsStorageUnlimited(kHttpUrl)); // test cached result policy_ 189 chrome/browser/extensions/extension_special_storage_policy_unittest.cc EXPECT_FALSE(policy_->IsStorageUnlimited(kExtensionUrl)); policy_ 190 chrome/browser/extensions/extension_special_storage_policy_unittest.cc EXPECT_FALSE(policy_->IsStorageUnlimited(app->url())); policy_ 195 chrome/browser/extensions/extension_special_storage_policy_unittest.cc EXPECT_TRUE(policy_->IsStorageProtected(kExtensionUrl)); policy_ 196 chrome/browser/extensions/extension_special_storage_policy_unittest.cc EXPECT_TRUE(policy_->IsStorageProtected(app->url())); policy_ 201 chrome/browser/extensions/extension_special_storage_policy_unittest.cc policy_->GrantRightsForExtension(extension.get()); policy_ 206 chrome/browser/extensions/extension_special_storage_policy_unittest.cc EXPECT_FALSE(policy_->IsStorageUnlimited(extension->url())); policy_ 207 chrome/browser/extensions/extension_special_storage_policy_unittest.cc EXPECT_FALSE(policy_->IsStorageUnlimited(GURL("http://explicit/"))); policy_ 214 chrome/browser/extensions/extension_special_storage_policy_unittest.cc policy_->RevokeRightsForExtension(extension.get()); policy_ 222 chrome/browser/extensions/extension_special_storage_policy_unittest.cc policy_->GrantRightsForExtension(extension.get()); policy_ 233 chrome/browser/extensions/extension_special_storage_policy_unittest.cc EXPECT_TRUE(policy_->IsStorageUnlimited(extension->url())); policy_ 234 chrome/browser/extensions/extension_special_storage_policy_unittest.cc EXPECT_TRUE(policy_->IsStorageUnlimited(GURL("http://explicit/"))); policy_ 235 chrome/browser/extensions/extension_special_storage_policy_unittest.cc EXPECT_TRUE(policy_->IsStorageUnlimited(GURL("http://explicit:6000/"))); policy_ 236 chrome/browser/extensions/extension_special_storage_policy_unittest.cc EXPECT_TRUE(policy_->IsStorageUnlimited(GURL("https://foo.wildcards/"))); policy_ 237 chrome/browser/extensions/extension_special_storage_policy_unittest.cc EXPECT_TRUE(policy_->IsStorageUnlimited(GURL("https://bar.wildcards/"))); policy_ 238 chrome/browser/extensions/extension_special_storage_policy_unittest.cc EXPECT_FALSE(policy_->IsStorageUnlimited(GURL("http://not_listed/"))); policy_ 240 chrome/browser/extensions/extension_special_storage_policy_unittest.cc policy_->RevokeRightsForExtension(extension.get()); policy_ 245 chrome/browser/extensions/extension_special_storage_policy_unittest.cc EXPECT_FALSE(policy_->IsStorageUnlimited(GURL("http://explicit/"))); policy_ 246 chrome/browser/extensions/extension_special_storage_policy_unittest.cc EXPECT_FALSE(policy_->IsStorageUnlimited(GURL("https://foo.wildcards/"))); policy_ 247 chrome/browser/extensions/extension_special_storage_policy_unittest.cc EXPECT_FALSE(policy_->IsStorageUnlimited(GURL("https://bar.wildcards/"))); policy_ 256 chrome/browser/extensions/extension_special_storage_policy_unittest.cc policy_->GrantRightsForExtension(regular_app.get()); policy_ 257 chrome/browser/extensions/extension_special_storage_policy_unittest.cc policy_->GrantRightsForExtension(protected_app.get()); policy_ 258 chrome/browser/extensions/extension_special_storage_policy_unittest.cc policy_->GrantRightsForExtension(unlimited_app.get()); policy_ 260 chrome/browser/extensions/extension_special_storage_policy_unittest.cc EXPECT_FALSE(policy_->CanQueryDiskSize(kHttpUrl)); policy_ 261 chrome/browser/extensions/extension_special_storage_policy_unittest.cc EXPECT_FALSE(policy_->CanQueryDiskSize(kExtensionUrl)); policy_ 262 chrome/browser/extensions/extension_special_storage_policy_unittest.cc EXPECT_TRUE(policy_->CanQueryDiskSize(regular_app->url())); policy_ 263 chrome/browser/extensions/extension_special_storage_policy_unittest.cc EXPECT_TRUE(policy_->CanQueryDiskSize(protected_app->url())); policy_ 264 chrome/browser/extensions/extension_special_storage_policy_unittest.cc EXPECT_TRUE(policy_->CanQueryDiskSize(unlimited_app->url())); policy_ 271 chrome/browser/extensions/extension_special_storage_policy_unittest.cc policy_->GrantRightsForExtension(app.get()); policy_ 273 chrome/browser/extensions/extension_special_storage_policy_unittest.cc EXPECT_FALSE(policy_->HasIsolatedStorage(kHttpUrl)); policy_ 274 chrome/browser/extensions/extension_special_storage_policy_unittest.cc EXPECT_FALSE(policy_->HasIsolatedStorage(kExtensionUrl)); policy_ 275 chrome/browser/extensions/extension_special_storage_policy_unittest.cc EXPECT_TRUE(policy_->HasIsolatedStorage(app->url())); policy_ 281 chrome/browser/extensions/extension_special_storage_policy_unittest.cc policy_->GrantRightsForExtension(protected_app.get()); policy_ 282 chrome/browser/extensions/extension_special_storage_policy_unittest.cc policy_->GrantRightsForExtension(unlimited_app.get()); policy_ 294 chrome/browser/extensions/extension_special_storage_policy_unittest.cc EXPECT_TRUE(policy_->IsStorageUnlimited(GURL("http://explicit/"))); policy_ 295 chrome/browser/extensions/extension_special_storage_policy_unittest.cc EXPECT_TRUE(policy_->IsStorageUnlimited(GURL("http://explicit:6000/"))); policy_ 296 chrome/browser/extensions/extension_special_storage_policy_unittest.cc EXPECT_TRUE(policy_->IsStorageUnlimited(GURL("https://foo.wildcards/"))); policy_ 297 chrome/browser/extensions/extension_special_storage_policy_unittest.cc EXPECT_TRUE(policy_->IsStorageUnlimited(GURL("https://bar.wildcards/"))); policy_ 298 chrome/browser/extensions/extension_special_storage_policy_unittest.cc EXPECT_FALSE(policy_->IsStorageUnlimited(GURL("http://not_listed/"))); policy_ 300 chrome/browser/extensions/extension_special_storage_policy_unittest.cc policy_->RevokeRightsForExtension(unlimited_app.get()); policy_ 302 chrome/browser/extensions/extension_special_storage_policy_unittest.cc EXPECT_FALSE(policy_->IsStorageUnlimited(GURL("http://explicit/"))); policy_ 303 chrome/browser/extensions/extension_special_storage_policy_unittest.cc EXPECT_FALSE(policy_->IsStorageUnlimited(GURL("https://foo.wildcards/"))); policy_ 304 chrome/browser/extensions/extension_special_storage_policy_unittest.cc EXPECT_FALSE(policy_->IsStorageUnlimited(GURL("https://bar.wildcards/"))); policy_ 309 chrome/browser/extensions/extension_special_storage_policy_unittest.cc policy_->RevokeRightsForExtension(protected_app.get()); policy_ 322 chrome/browser/extensions/extension_special_storage_policy_unittest.cc policy_ = new ExtensionSpecialStoragePolicy(cookie_settings); policy_ 324 chrome/browser/extensions/extension_special_storage_policy_unittest.cc EXPECT_FALSE(policy_->HasSessionOnlyOrigins()); policy_ 328 chrome/browser/extensions/extension_special_storage_policy_unittest.cc EXPECT_TRUE(policy_->HasSessionOnlyOrigins()); policy_ 331 chrome/browser/extensions/extension_special_storage_policy_unittest.cc EXPECT_FALSE(policy_->HasSessionOnlyOrigins()); policy_ 341 chrome/browser/extensions/extension_special_storage_policy_unittest.cc EXPECT_TRUE(policy_->HasSessionOnlyOrigins()); policy_ 347 chrome/browser/extensions/extension_special_storage_policy_unittest.cc EXPECT_FALSE(policy_->HasSessionOnlyOrigins()); policy_ 356 chrome/browser/extensions/extension_special_storage_policy_unittest.cc policy_->AddObserver(&observer); policy_ 374 chrome/browser/extensions/extension_special_storage_policy_unittest.cc policy_->GrantRightsForExtension(apps[i].get()); policy_ 381 chrome/browser/extensions/extension_special_storage_policy_unittest.cc policy_->GrantRightsForExtension(apps[i].get()); policy_ 389 chrome/browser/extensions/extension_special_storage_policy_unittest.cc policy_->RevokeRightsForExtension(apps[i].get()); policy_ 396 chrome/browser/extensions/extension_special_storage_policy_unittest.cc policy_->RevokeRightsForExtension(apps[i].get()); policy_ 402 chrome/browser/extensions/extension_special_storage_policy_unittest.cc policy_->RevokeRightsForAllExtensions(); policy_ 406 chrome/browser/extensions/extension_special_storage_policy_unittest.cc policy_->RemoveObserver(&observer); policy_ 19 chrome/browser/net/disk_cache_dir_policy_handler_unittest.cc PolicyMap policy_; policy_ 25 chrome/browser/net/disk_cache_dir_policy_handler_unittest.cc handler_.ApplyPolicySettings(policy_, &prefs_); policy_ 31 chrome/browser/net/disk_cache_dir_policy_handler_unittest.cc policy_.Set(key::kDiskCacheDir, policy_ 36 chrome/browser/net/disk_cache_dir_policy_handler_unittest.cc handler_.ApplyPolicySettings(policy_, &prefs_); policy_ 43 chrome/browser/net/disk_cache_dir_policy_handler_unittest.cc policy_.Set(key::kDiskCacheDir, policy_ 48 chrome/browser/net/disk_cache_dir_policy_handler_unittest.cc handler_.ApplyPolicySettings(policy_, &prefs_); policy_ 291 chrome/browser/policy/cloud/cloud_policy_invalidator_unittest.cc store_.policy_.reset(data); policy_ 548 chrome/browser/policy/cloud/user_policy_signin_service_unittest.cc mock_store_->policy_.reset(new enterprise_management::PolicyData()); policy_ 549 chrome/browser/policy/cloud/user_policy_signin_service_unittest.cc mock_store_->policy_->set_request_token("fake token"); policy_ 550 chrome/browser/policy/cloud/user_policy_signin_service_unittest.cc mock_store_->policy_->set_device_id("fake client id"); policy_ 19 chrome/browser/policy/file_selection_dialogs_policy_handler_unittest.cc PolicyMap policy_; policy_ 25 chrome/browser/policy/file_selection_dialogs_policy_handler_unittest.cc handler_.ApplyPolicySettings(policy_, &prefs_); policy_ 30 chrome/browser/policy/file_selection_dialogs_policy_handler_unittest.cc policy_.Set(key::kAllowFileSelectionDialogs, policy_ 35 chrome/browser/policy/file_selection_dialogs_policy_handler_unittest.cc handler_.ApplyPolicySettings(policy_, &prefs_); policy_ 43 chrome/browser/policy/file_selection_dialogs_policy_handler_unittest.cc policy_.Set(key::kAllowFileSelectionDialogs, policy_ 48 chrome/browser/policy/file_selection_dialogs_policy_handler_unittest.cc handler_.ApplyPolicySettings(policy_, &prefs_); policy_ 66 chrome/browser/policy/policy_prefs_browsertest.cc : policy_(policy.DeepCopy()), value_(value), readonly_(readonly) {} policy_ 69 chrome/browser/policy/policy_prefs_browsertest.cc const base::DictionaryValue& policy() const { return *policy_; } policy_ 76 chrome/browser/policy/policy_prefs_browsertest.cc scoped_ptr<base::DictionaryValue> policy_; policy_ 14 chrome/browser/sync_file_system/conflict_resolution_resolver.cc : policy_(policy) {} policy_ 28 chrome/browser/sync_file_system/conflict_resolution_resolver.cc if (policy_ == CONFLICT_RESOLUTION_POLICY_MANUAL) policy_ 38 chrome/browser/sync_file_system/conflict_resolution_resolver.cc DCHECK_EQ(CONFLICT_RESOLUTION_POLICY_LAST_WRITE_WIN, policy_); policy_ 39 chrome/browser/sync_file_system/conflict_resolution_resolver.h ConflictResolutionPolicy policy() const { return policy_; } policy_ 40 chrome/browser/sync_file_system/conflict_resolution_resolver.h void set_policy(ConflictResolutionPolicy policy) { policy_ = policy; } policy_ 43 chrome/browser/sync_file_system/conflict_resolution_resolver.h ConflictResolutionPolicy policy_; policy_ 33 chrome/browser/ui/search/search_ipc_router.cc policy_(policy.Pass()), policy_ 37 chrome/browser/ui/search/search_ipc_router.cc DCHECK(policy_.get()); policy_ 49 chrome/browser/ui/search/search_ipc_router.cc if (!policy_->ShouldProcessChromeIdentityCheck()) policy_ 57 chrome/browser/ui/search/search_ipc_router.cc if (!policy_->ShouldSendSetPromoInformation()) policy_ 65 chrome/browser/ui/search/search_ipc_router.cc if (!policy_->ShouldSendSetDisplayInstantResults()) policy_ 77 chrome/browser/ui/search/search_ipc_router.cc if (!policy_->ShouldSendSetSuggestionToPrefetch()) policy_ 85 chrome/browser/ui/search/search_ipc_router.cc if (!policy_->ShouldSendSetOmniboxStartMargin()) policy_ 92 chrome/browser/ui/search/search_ipc_router.cc if (!policy_->ShouldSendSetInputInProgress(is_active_tab_)) policy_ 101 chrome/browser/ui/search/search_ipc_router.cc if (!policy_->ShouldSendOmniboxFocusChanged()) policy_ 109 chrome/browser/ui/search/search_ipc_router.cc if (!policy_->ShouldSendMostVisitedItems()) policy_ 117 chrome/browser/ui/search/search_ipc_router.cc if (!policy_->ShouldSendThemeBackgroundInfo()) policy_ 124 chrome/browser/ui/search/search_ipc_router.cc if (!policy_->ShouldSendToggleVoiceSearch()) policy_ 131 chrome/browser/ui/search/search_ipc_router.cc if (!policy_->ShouldSubmitQuery()) policy_ 190 chrome/browser/ui/search/search_ipc_router.cc if (!policy_->ShouldProcessSetVoiceSearchSupport()) policy_ 202 chrome/browser/ui/search/search_ipc_router.cc if (!policy_->ShouldProcessFocusOmnibox(is_active_tab_)) policy_ 217 chrome/browser/ui/search/search_ipc_router.cc if (!policy_->ShouldProcessNavigateToURL(is_active_tab_)) policy_ 229 chrome/browser/ui/search/search_ipc_router.cc if (!policy_->ShouldProcessDeleteMostVisitedItem()) policy_ 241 chrome/browser/ui/search/search_ipc_router.cc if (!policy_->ShouldProcessUndoMostVisitedDeletion()) policy_ 252 chrome/browser/ui/search/search_ipc_router.cc if (!policy_->ShouldProcessUndoAllMostVisitedDeletions()) policy_ 263 chrome/browser/ui/search/search_ipc_router.cc if (!policy_->ShouldProcessLogEvent()) policy_ 276 chrome/browser/ui/search/search_ipc_router.cc if (!policy_->ShouldProcessLogEvent()) policy_ 289 chrome/browser/ui/search/search_ipc_router.cc if (!policy_->ShouldProcessLogEvent()) policy_ 301 chrome/browser/ui/search/search_ipc_router.cc if (!policy_->ShouldProcessPasteIntoOmnibox(is_active_tab_)) policy_ 314 chrome/browser/ui/search/search_ipc_router.cc if (!policy_->ShouldProcessChromeIdentityCheck()) policy_ 327 chrome/browser/ui/search/search_ipc_router.cc policy_.reset(policy.release()); policy_ 210 chrome/browser/ui/search/search_ipc_router.h Policy* policy() const { return policy_.get(); } policy_ 213 chrome/browser/ui/search/search_ipc_router.h scoped_ptr<Policy> policy_; policy_ 36 chromeos/dbus/fake_power_manager_client.cc policy_ = policy; policy_ 27 chromeos/dbus/fake_power_manager_client.h power_manager::PowerManagementPolicy& policy() { return policy_; } policy_ 79 chromeos/dbus/fake_power_manager_client.h power_manager::PowerManagementPolicy policy_; policy_ 53 chromeos/network/onc/onc_merger_unittest.cc scoped_ptr<const base::DictionaryValue> policy_; policy_ 58 chromeos/network/onc/onc_merger_unittest.cc policy_ = test_utils::ReadTestDictionary("managed_vpn.onc"); policy_ 68 chromeos/network/onc/onc_merger_unittest.cc policy_.get(), NULL, user_.get(), NULL)); policy_ 69 chromeos/network/onc/onc_merger_unittest.cc EXPECT_TRUE(HaveSameValueAt(*merged, *policy_, "Type")); policy_ 70 chromeos/network/onc/onc_merger_unittest.cc EXPECT_TRUE(HaveSameValueAt(*merged, *policy_, "IPConfigs")); policy_ 75 chromeos/network/onc/onc_merger_unittest.cc policy_.get(), NULL, user_.get(), NULL)); policy_ 76 chromeos/network/onc/onc_merger_unittest.cc EXPECT_TRUE(HaveSameValueAt(*merged, *policy_, "GUID")); policy_ 77 chromeos/network/onc/onc_merger_unittest.cc EXPECT_TRUE(HaveSameValueAt(*merged, *policy_, "VPN.OpenVPN.Username")); policy_ 82 chromeos/network/onc/onc_merger_unittest.cc policy_.get(), NULL, user_.get(), NULL)); policy_ 89 chromeos/network/onc/onc_merger_unittest.cc policy_.get(), NULL, user_.get(), NULL)); policy_ 95 chromeos/network/onc/onc_merger_unittest.cc policy_.get(), NULL, user_.get(), NULL)); policy_ 101 chromeos/network/onc/onc_merger_unittest.cc policy_.get(), NULL, user_.get(), NULL)); policy_ 124 chromeos/network/onc/onc_merger_unittest.cc policy_.get(), NULL, &emptyDict, NULL); policy_ 128 chromeos/network/onc/onc_merger_unittest.cc merged = MergeSettingsAndPoliciesToEffective(policy_.get(), NULL, NULL, NULL); policy_ 135 chromeos/network/onc/onc_merger_unittest.cc policy_.get(), device_policy_.get(), user_.get(), NULL)); policy_ 136 chromeos/network/onc/onc_merger_unittest.cc EXPECT_TRUE(HaveSameValueAt(*merged, *policy_, "VPN.OpenVPN.Port")); policy_ 141 chromeos/network/onc/onc_merger_unittest.cc policy_.get(), device_policy_.get(), user_.get(), NULL)); policy_ 150 chromeos/network/onc/onc_merger_unittest.cc kNetworkConfigurationSignature, policy_.get(), device_policy_.get(), policy_ 55 cloud_print/service/win/local_security_policy.cc LocalSecurityPolicy::LocalSecurityPolicy() : policy_(NULL) { policy_ 63 cloud_print/service/win/local_security_policy.cc if (policy_) { policy_ 64 cloud_print/service/win/local_security_policy.cc LsaClose(policy_); policy_ 65 cloud_print/service/win/local_security_policy.cc policy_ = NULL; policy_ 70 cloud_print/service/win/local_security_policy.cc DCHECK(!policy_); policy_ 76 cloud_print/service/win/local_security_policy.cc &policy_); policy_ 82 cloud_print/service/win/local_security_policy.cc DCHECK(policy_); policy_ 91 cloud_print/service/win/local_security_policy.cc policy_, const_cast<SID*>(user_sid.GetPSID()), rights.Receive(), &count); policy_ 103 cloud_print/service/win/local_security_policy.cc DCHECK(policy_); policy_ 117 cloud_print/service/win/local_security_policy.cc ::LsaAddAccountRights(policy_, const_cast<SID*>(user_sid.GetPSID()), policy_ 30 cloud_print/service/win/local_security_policy.h LSA_HANDLE policy_; policy_ 178 components/policy/core/common/cloud/cloud_policy_manager_unittest.cc policy_.payload().mutable_passwordmanagerenabled()->set_value(false); policy_ 179 components/policy/core/common/cloud/cloud_policy_manager_unittest.cc policy_.Build(); policy_ 199 components/policy/core/common/cloud/cloud_policy_manager_unittest.cc UserPolicyBuilder policy_; policy_ 223 components/policy/core/common/cloud/cloud_policy_manager_unittest.cc store_.policy_.reset(new em::PolicyData(policy_.policy_data())); policy_ 255 components/policy/core/common/cloud/cloud_policy_manager_unittest.cc client->SetDMToken(policy_.policy_data().request_token()); policy_ 258 components/policy/core/common/cloud/cloud_policy_manager_unittest.cc client->SetPolicy(policy_ns_key_, policy_.policy()); policy_ 259 components/policy/core/common/cloud/cloud_policy_manager_unittest.cc EXPECT_CALL(store_, Store(ProtoMatches(policy_.policy()))); policy_ 305 components/policy/core/common/cloud/cloud_policy_manager_unittest.cc store_.policy_.reset(new em::PolicyData(policy_.policy_data())); policy_ 313 components/policy/core/common/cloud/cloud_policy_manager_unittest.cc client->SetDMToken(policy_.policy_data().request_token()); policy_ 331 components/policy/core/common/cloud/cloud_policy_manager_unittest.cc client->SetPolicy(policy_ns_key_, policy_.policy()); policy_ 345 components/policy/core/common/cloud/cloud_policy_manager_unittest.cc store_.policy_.reset(new em::PolicyData(policy_.policy_data())); policy_ 44 components/policy/core/common/cloud/cloud_policy_refresh_scheduler_unittest.cc store_.policy_.reset(new em::PolicyData()); policy_ 48 components/policy/core/common/cloud/cloud_policy_refresh_scheduler_unittest.cc store_.policy_->set_timestamp( policy_ 52 components/policy/core/common/cloud/cloud_policy_refresh_scheduler_unittest.cc base::TimeDelta::FromMilliseconds(store_.policy_->timestamp()); policy_ 149 components/policy/core/common/cloud/cloud_policy_refresh_scheduler_unittest.cc store_.policy_.reset(); policy_ 158 components/policy/core/common/cloud/cloud_policy_refresh_scheduler_unittest.cc store_.policy_->set_state(em::PolicyData::UNMANAGED); policy_ 56 components/policy/core/common/cloud/cloud_policy_service_unittest.cc store_.policy_.reset(new em::PolicyData()); policy_ 57 components/policy/core/common/cloud/cloud_policy_service_unittest.cc store_.policy_->set_username("user@example.com"); policy_ 70 components/policy/core/common/cloud/cloud_policy_service_unittest.cc store_.policy_.reset(new em::PolicyData()); policy_ 71 components/policy/core/common/cloud/cloud_policy_service_unittest.cc store_.policy_->set_request_token("fake token"); policy_ 72 components/policy/core/common/cloud/cloud_policy_service_unittest.cc store_.policy_->set_device_id("fake client id"); policy_ 73 components/policy/core/common/cloud/cloud_policy_service_unittest.cc store_.policy_->set_timestamp(32); policy_ 74 components/policy/core/common/cloud/cloud_policy_service_unittest.cc store_.policy_->set_valid_serial_number_missing(true); policy_ 75 components/policy/core/common/cloud/cloud_policy_service_unittest.cc store_.policy_->set_public_key_version(17); policy_ 77 components/policy/core/common/cloud/cloud_policy_service_unittest.cc SetupRegistration(store_.policy_->request_token(), policy_ 78 components/policy/core/common/cloud/cloud_policy_service_unittest.cc store_.policy_->device_id())).Times(1); policy_ 115 components/policy/core/common/cloud/cloud_policy_service_unittest.cc store_.policy_.reset(new em::PolicyData()); policy_ 116 components/policy/core/common/cloud/cloud_policy_service_unittest.cc store_.policy_->set_request_token("token"); policy_ 117 components/policy/core/common/cloud/cloud_policy_service_unittest.cc store_.policy_->set_device_id("device-id"); policy_ 70 components/policy/core/common/cloud/cloud_policy_store.h return policy_.get() != NULL; policy_ 73 components/policy/core/common/cloud/cloud_policy_store.h return policy_.get(); policy_ 76 components/policy/core/common/cloud/cloud_policy_store.h return policy_.get() && policy_ 77 components/policy/core/common/cloud/cloud_policy_store.h policy_->state() == enterprise_management::PolicyData::ACTIVE; policy_ 142 components/policy/core/common/cloud/cloud_policy_store.h scoped_ptr<enterprise_management::PolicyData> policy_; policy_ 170 components/policy/core/common/cloud/cloud_policy_validator.cc policy_(policy_response.Pass()), policy_ 221 components/policy/core/common/cloud/cloud_policy_validator.cc if ((policy_->has_error_code() && policy_->error_code() != 200) || policy_ 222 components/policy/core/common/cloud/cloud_policy_validator.cc (policy_->has_error_message() && !policy_->error_message().empty())) { policy_ 224 components/policy/core/common/cloud/cloud_policy_validator.cc << " code: " << policy_->error_code() policy_ 225 components/policy/core/common/cloud/cloud_policy_validator.cc << " message: " << policy_->error_message(); policy_ 231 components/policy/core/common/cloud/cloud_policy_validator.cc if (!policy_data_->ParseFromString(policy_->policy_data()) || policy_ 277 components/policy/core/common/cloud/cloud_policy_validator.cc if (!policy_->has_new_public_key_verification_signature()) { policy_ 287 components/policy/core/common/cloud/cloud_policy_validator.cc policy_->new_public_key(), policy_ 289 components/policy/core/common/cloud/cloud_policy_validator.cc policy_->new_public_key_verification_signature())) { policy_ 352 components/policy/core/common/cloud/cloud_policy_validator.cc if (policy_->has_new_public_key() && allow_key_rotation_) { policy_ 353 components/policy/core/common/cloud/cloud_policy_validator.cc signature_key = &policy_->new_public_key(); policy_ 354 components/policy/core/common/cloud/cloud_policy_validator.cc if (!policy_->has_new_public_key_signature() || policy_ 355 components/policy/core/common/cloud/cloud_policy_validator.cc !VerifySignature(policy_->new_public_key(), key_, policy_ 356 components/policy/core/common/cloud/cloud_policy_validator.cc policy_->new_public_key_signature(), SHA1)) { policy_ 367 components/policy/core/common/cloud/cloud_policy_validator.cc if (!policy_->has_policy_data_signature() || policy_ 368 components/policy/core/common/cloud/cloud_policy_validator.cc !VerifySignature(policy_->policy_data(), *signature_key, policy_ 369 components/policy/core/common/cloud/cloud_policy_validator.cc policy_->policy_data_signature(), SHA1)) { policy_ 378 components/policy/core/common/cloud/cloud_policy_validator.cc if (!policy_->has_new_public_key() || policy_ 379 components/policy/core/common/cloud/cloud_policy_validator.cc !policy_->has_policy_data_signature() || policy_ 380 components/policy/core/common/cloud/cloud_policy_validator.cc !VerifySignature(policy_->policy_data(), policy_->new_public_key(), policy_ 381 components/policy/core/common/cloud/cloud_policy_validator.cc policy_->policy_data_signature(), SHA1)) { policy_ 114 components/policy/core/common/cloud/cloud_policy_validator.h return policy_; policy_ 279 components/policy/core/common/cloud/cloud_policy_validator.h scoped_ptr<enterprise_management::PolicyFetchResponse> policy_; policy_ 47 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc policy_.SetDefaultNewSigningKey(); policy_ 51 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc policy_.Build(); policy_ 52 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc ValidatePolicy(check_action, policy_.GetCopy()); policy_ 111 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc EXPECT_EQ(policy_.policy().SerializeAsString(), policy_ 113 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc EXPECT_EQ(policy_.policy_data().SerializeAsString(), policy_ 115 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc EXPECT_EQ(policy_.payload().SerializeAsString(), policy_ 129 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc UserPolicyBuilder policy_; policy_ 142 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc policy_.Build(); policy_ 144 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc policy_.GetCopy()); policy_ 157 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc policy_.policy_data().clear_request_token(); policy_ 163 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc policy_.policy_data().set_username( policy_ 169 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc policy_.policy_data().clear_policy_type(); policy_ 174 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc policy_.policy_data().set_policy_type("invalid"); policy_ 179 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc policy_.policy_data().clear_timestamp(); policy_ 185 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc policy_.policy_data().clear_timestamp(); policy_ 191 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc policy_.policy_data().set_timestamp( policy_ 198 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc policy_.policy_data().set_timestamp( policy_ 207 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc policy_.policy_data().set_timestamp( policy_ 213 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc policy_.policy_data().clear_request_token(); policy_ 220 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc policy_.policy_data().clear_request_token(); policy_ 229 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc policy_.policy_data().clear_request_token(); policy_ 234 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc policy_.policy_data().set_request_token("invalid"); policy_ 239 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc policy_.clear_payload(); policy_ 245 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc policy_.clear_payload(); policy_ 246 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc policy_.policy_data().set_policy_value("invalid"); policy_ 252 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc policy_.policy_data().clear_username(); policy_ 257 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc policy_.policy_data().set_username("invalid@example.com"); policy_ 262 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc policy_.policy().set_error_message("error"); policy_ 268 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc policy_.policy().set_error_code(42); policy_ 274 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc policy_.UnsetSigningKey(); policy_ 275 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc policy_.UnsetNewSigningKey(); policy_ 276 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc policy_.policy().clear_policy_data_signature(); policy_ 281 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc policy_.UnsetSigningKey(); policy_ 282 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc policy_.UnsetNewSigningKey(); policy_ 283 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc policy_.policy().set_policy_data_signature("invalid"); policy_ 288 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc policy_.UnsetSigningKey(); policy_ 289 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc policy_.UnsetNewSigningKey(); policy_ 290 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc policy_.policy().clear_new_public_key(); policy_ 295 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc policy_.UnsetSigningKey(); policy_ 296 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc policy_.UnsetNewSigningKey(); policy_ 297 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc policy_.policy().set_new_public_key("invalid"); policy_ 302 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc policy_.UnsetSigningKey(); policy_ 303 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc policy_.UnsetNewSigningKey(); policy_ 304 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc policy_.policy().clear_new_public_key_signature(); policy_ 309 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc policy_.UnsetSigningKey(); policy_ 310 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc policy_.UnsetNewSigningKey(); policy_ 311 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc policy_.policy().set_new_public_key_signature("invalid"); policy_ 319 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc policy_.Build(); policy_ 320 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc policy_.policy().set_new_public_key_verification_signature("invalid"); policy_ 323 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc policy_.GetCopy()); policy_ 327 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc policy_.Build(); policy_ 333 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc policy_.GetCopy()); policy_ 339 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc policy_.policy_data().set_username("wonky@invalid.com"); policy_ 340 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc policy_.Build(); policy_ 346 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc policy_.GetCopy()); policy_ 381 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc policy_.UnsetNewSigningKey(); policy_ 511 components/policy/core/common/cloud/component_cloud_policy_service.cc policy_.Swap(policy.get()); policy_ 95 components/policy/core/common/cloud/component_cloud_policy_service.h const PolicyBundle& policy() const { return policy_; } policy_ 155 components/policy/core/common/cloud/component_cloud_policy_service.h PolicyBundle policy_; policy_ 184 components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc store_.policy_.reset(data); policy_ 471 components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc store_.policy_.reset(data); policy_ 519 components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc store_.policy_.reset(); policy_ 26 components/policy/core/common/cloud/mock_cloud_policy_store.h using CloudPolicyStore::policy_; policy_ 28 components/policy/core/common/cloud/mock_user_cloud_policy_store.h using CloudPolicyStore::policy_; policy_ 220 components/policy/core/common/cloud/policy_builder.cc policy_.set_new_public_key(vector_as_array(&raw_new_public_signing_key), policy_ 223 components/policy/core/common/cloud/policy_builder.cc policy_.set_new_public_key_verification_signature( policy_ 229 components/policy/core/common/cloud/policy_builder.cc SignData(policy_.new_public_key(), policy_ 231 components/policy/core/common/cloud/policy_builder.cc policy_.mutable_new_public_key_signature()); policy_ 236 components/policy/core/common/cloud/policy_builder.cc policy_.clear_new_public_key(); policy_ 237 components/policy/core/common/cloud/policy_builder.cc policy_.clear_new_public_key_signature(); policy_ 247 components/policy/core/common/cloud/policy_builder.cc CHECK(policy_data_->SerializeToString(policy_.mutable_policy_data())); policy_ 251 components/policy/core/common/cloud/policy_builder.cc SignData(policy_.policy_data(), policy_signing_key.get(), policy_ 252 components/policy/core/common/cloud/policy_builder.cc policy_.mutable_policy_data_signature()); policy_ 257 components/policy/core/common/cloud/policy_builder.cc return policy_.SerializeAsString(); policy_ 262 components/policy/core/common/cloud/policy_builder.cc result->CopyFrom(policy_); policy_ 56 components/policy/core/common/cloud/policy_builder.h return policy_; policy_ 101 components/policy/core/common/cloud/policy_builder.h enterprise_management::PolicyFetchResponse policy_; policy_ 27 components/policy/core/common/cloud/policy_header_service_unittest.cc policy_ = policy.Pass(); policy_ 201 components/policy/core/common/cloud/user_cloud_policy_store.cc policy_.reset(); policy_ 35 components/policy/core/common/cloud/user_cloud_policy_store_base.cc policy_.get(), policy_ 48 components/policy/core/common/cloud/user_cloud_policy_store_base.cc policy_ = policy_data.Pass(); policy_ 73 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc policy_.SetDefaultInitialSigningKey(); policy_ 75 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc InitPolicyPayload(&policy_.payload()); policy_ 77 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc policy_.Build(); policy_ 131 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc UserPolicyBuilder policy_; policy_ 244 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc StorePolicyAndEnsureLoaded(policy_.policy()); policy_ 245 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc EXPECT_EQ(policy_.policy().new_public_key(), store_->policy_key()); policy_ 256 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc StorePolicyAndEnsureLoaded(policy_.policy()); policy_ 259 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc EXPECT_EQ(policy_.policy_data().SerializeAsString(), policy_ 271 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc StorePolicyAndEnsureLoaded(policy_.policy()); policy_ 298 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc StorePolicyAndEnsureLoaded(policy_.policy()); policy_ 299 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc EXPECT_FALSE(policy_.policy().has_new_public_key_signature()); policy_ 300 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc std::string original_policy_key = policy_.policy().new_public_key(); policy_ 304 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc policy_.SetDefaultSigningKey(); policy_ 305 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc policy_.SetDefaultNewSigningKey(); policy_ 306 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc policy_.Build(); policy_ 307 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc EXPECT_TRUE(policy_.policy().has_new_public_key_signature()); policy_ 308 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc EXPECT_NE(original_policy_key, policy_.policy().new_public_key()); policy_ 309 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc StorePolicyAndEnsureLoaded(policy_.policy()); policy_ 310 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc EXPECT_EQ(policy_.policy().new_public_key(), store_->policy_key()); policy_ 319 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc StorePolicyAndEnsureLoaded(policy_.policy()); policy_ 323 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc policy_.UnsetSigningKey(); policy_ 324 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc policy_.SetDefaultNewSigningKey(); policy_ 325 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc policy_.Build(); policy_ 326 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc EXPECT_FALSE(policy_.policy().has_new_public_key_signature()); policy_ 329 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc store_->Store(policy_.policy()); policy_ 347 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc policy_.UnsetNewSigningKey(); policy_ 348 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc policy_.SetDefaultSigningKey(); policy_ 349 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc policy_.Build(); policy_ 350 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc ASSERT_FALSE(policy_.policy().has_new_public_key()); policy_ 351 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc StorePolicyAndEnsureLoaded(policy_.policy()); policy_ 354 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc EXPECT_EQ(policy_.policy_data().SerializeAsString(), policy_ 363 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc StorePolicyAndEnsureLoaded(policy_.policy()); policy_ 379 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc EXPECT_EQ(policy_.policy_data().SerializeAsString(), policy_ 391 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc StorePolicyAndEnsureLoaded(policy_.policy()); policy_ 405 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc EXPECT_EQ(policy_.policy_data().SerializeAsString(), policy_ 414 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc policy_.policy_data().clear_policy_type(); policy_ 415 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc policy_.Build(); policy_ 419 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc store_->Store(policy_.policy()); policy_ 426 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc policy_.policy().mutable_policy_data_signature()->clear(); policy_ 430 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc store_->Store(policy_.policy()); policy_ 437 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc StorePolicyAndEnsureLoaded(policy_.policy()); policy_ 489 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc StorePolicyAndEnsureLoaded(policy_.policy()); policy_ 519 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc StorePolicyAndEnsureLoaded(policy_.policy()); policy_ 21 components/policy/core/common/external_data_fetcher.cc policy_(other.policy_) { policy_ 35 components/policy/core/common/external_data_fetcher.cc first->policy_ == second->policy_; policy_ 40 components/policy/core/common/external_data_fetcher.cc manager_->Fetch(policy_, callback); policy_ 48 components/policy/core/common/external_data_fetcher.h const std::string policy_; policy_ 21 content/browser/loader/offline_policy_unittest.cc policy_ = new OfflinePolicy; policy_ 25 content/browser/loader/offline_policy_unittest.cc delete policy_; policy_ 26 content/browser/loader/offline_policy_unittest.cc policy_ = NULL; policy_ 29 content/browser/loader/offline_policy_unittest.cc OfflinePolicy* policy_; policy_ 37 content/browser/loader/offline_policy_unittest.cc policy_->GetAdditionalLoadFlags(0, true)); policy_ 39 content/browser/loader/offline_policy_unittest.cc policy_->GetAdditionalLoadFlags(0, false)); policy_ 45 content/browser/loader/offline_policy_unittest.cc policy_->GetAdditionalLoadFlags(0, true)); policy_ 47 content/browser/loader/offline_policy_unittest.cc policy_->UpdateStateForSuccessfullyStartedRequest(response_info); policy_ 49 content/browser/loader/offline_policy_unittest.cc policy_->GetAdditionalLoadFlags(0, false)); policy_ 55 content/browser/loader/offline_policy_unittest.cc policy_->GetAdditionalLoadFlags(0, true)); policy_ 58 content/browser/loader/offline_policy_unittest.cc policy_->UpdateStateForSuccessfullyStartedRequest(response_info); policy_ 60 content/browser/loader/offline_policy_unittest.cc policy_->GetAdditionalLoadFlags(0, false)); policy_ 66 content/browser/loader/offline_policy_unittest.cc policy_->GetAdditionalLoadFlags(0, true)); policy_ 69 content/browser/loader/offline_policy_unittest.cc policy_->UpdateStateForSuccessfullyStartedRequest(response_info); policy_ 70 content/browser/loader/offline_policy_unittest.cc EXPECT_EQ(0, policy_->GetAdditionalLoadFlags(0, false)); policy_ 76 content/browser/loader/offline_policy_unittest.cc policy_->GetAdditionalLoadFlags(0, true)); policy_ 79 content/browser/loader/offline_policy_unittest.cc policy_->UpdateStateForSuccessfullyStartedRequest(response_info); policy_ 80 content/browser/loader/offline_policy_unittest.cc EXPECT_EQ(0, policy_->GetAdditionalLoadFlags(0, false)); policy_ 82 content/browser/loader/offline_policy_unittest.cc policy_->GetAdditionalLoadFlags(0, true)); policy_ 84 content/browser/loader/offline_policy_unittest.cc policy_->GetAdditionalLoadFlags(0, false)); policy_ 89 content/browser/loader/offline_policy_unittest.cc EXPECT_EQ(0, policy_->GetAdditionalLoadFlags(net::LOAD_BYPASS_CACHE, true)); policy_ 92 content/browser/loader/offline_policy_unittest.cc policy_->UpdateStateForSuccessfullyStartedRequest(response_info); policy_ 93 content/browser/loader/offline_policy_unittest.cc EXPECT_EQ(0, policy_->GetAdditionalLoadFlags(net::LOAD_BYPASS_CACHE, false)); policy_ 96 content/browser/ssl/ssl_manager.cc policy_(new SSLPolicy(&backend_)), policy_ 69 content/browser/ssl/ssl_manager.h SSLPolicy* policy() { return policy_.get(); } policy_ 93 content/browser/ssl/ssl_manager.h scoped_ptr<SSLPolicy> policy_; policy_ 31 extensions/browser/management_policy_unittest.cc extensions::ManagementPolicy policy_; policy_ 42 extensions/browser/management_policy_unittest.cc EXPECT_EQ(0, policy_.GetNumProviders()); policy_ 43 extensions/browser/management_policy_unittest.cc policy_.RegisterProvider(&allow_all_); policy_ 44 extensions/browser/management_policy_unittest.cc EXPECT_EQ(1, policy_.GetNumProviders()); policy_ 45 extensions/browser/management_policy_unittest.cc policy_.RegisterProvider(&allow_all_); policy_ 46 extensions/browser/management_policy_unittest.cc EXPECT_EQ(1, policy_.GetNumProviders()); policy_ 48 extensions/browser/management_policy_unittest.cc policy_.RegisterProvider(&no_modify_status_); policy_ 49 extensions/browser/management_policy_unittest.cc EXPECT_EQ(2, policy_.GetNumProviders()); policy_ 50 extensions/browser/management_policy_unittest.cc policy_.UnregisterProvider(&allow_all_); policy_ 51 extensions/browser/management_policy_unittest.cc EXPECT_EQ(1, policy_.GetNumProviders()); policy_ 52 extensions/browser/management_policy_unittest.cc policy_.UnregisterProvider(&allow_all_); policy_ 53 extensions/browser/management_policy_unittest.cc EXPECT_EQ(1, policy_.GetNumProviders()); policy_ 54 extensions/browser/management_policy_unittest.cc policy_.UnregisterProvider(&no_modify_status_); policy_ 55 extensions/browser/management_policy_unittest.cc EXPECT_EQ(0, policy_.GetNumProviders()); policy_ 57 extensions/browser/management_policy_unittest.cc policy_.RegisterProvider(&allow_all_); policy_ 58 extensions/browser/management_policy_unittest.cc policy_.RegisterProvider(&no_modify_status_); policy_ 59 extensions/browser/management_policy_unittest.cc EXPECT_EQ(2, policy_.GetNumProviders()); policy_ 60 extensions/browser/management_policy_unittest.cc policy_.UnregisterAllProviders(); policy_ 61 extensions/browser/management_policy_unittest.cc EXPECT_EQ(0, policy_.GetNumProviders()); policy_ 69 extensions/browser/management_policy_unittest.cc EXPECT_TRUE(policy_.UserMayLoad(NULL, &error)); policy_ 73 extensions/browser/management_policy_unittest.cc policy_.RegisterProvider(&no_modify_status_); policy_ 74 extensions/browser/management_policy_unittest.cc EXPECT_TRUE(policy_.UserMayLoad(NULL, &error)); policy_ 78 extensions/browser/management_policy_unittest.cc policy_.RegisterProvider(&must_remain_enabled_); policy_ 79 extensions/browser/management_policy_unittest.cc EXPECT_TRUE(policy_.UserMayLoad(NULL, &error)); policy_ 83 extensions/browser/management_policy_unittest.cc policy_.RegisterProvider(&no_load_); policy_ 84 extensions/browser/management_policy_unittest.cc EXPECT_FALSE(policy_.UserMayLoad(NULL, &error)); policy_ 88 extensions/browser/management_policy_unittest.cc policy_.UnregisterProvider(&no_load_); policy_ 90 extensions/browser/management_policy_unittest.cc EXPECT_TRUE(policy_.UserMayLoad(NULL, &error)); policy_ 96 extensions/browser/management_policy_unittest.cc EXPECT_TRUE(policy_.UserMayModifySettings(NULL, &error)); policy_ 100 extensions/browser/management_policy_unittest.cc policy_.RegisterProvider(&allow_all_); policy_ 101 extensions/browser/management_policy_unittest.cc EXPECT_TRUE(policy_.UserMayModifySettings(NULL, &error)); policy_ 105 extensions/browser/management_policy_unittest.cc policy_.RegisterProvider(&no_load_); policy_ 106 extensions/browser/management_policy_unittest.cc EXPECT_TRUE(policy_.UserMayModifySettings(NULL, &error)); policy_ 110 extensions/browser/management_policy_unittest.cc policy_.RegisterProvider(&no_modify_status_); policy_ 111 extensions/browser/management_policy_unittest.cc EXPECT_FALSE(policy_.UserMayModifySettings(NULL, &error)); policy_ 115 extensions/browser/management_policy_unittest.cc policy_.UnregisterProvider(&no_modify_status_); policy_ 117 extensions/browser/management_policy_unittest.cc EXPECT_TRUE(policy_.UserMayModifySettings(NULL, &error)); policy_ 124 extensions/browser/management_policy_unittest.cc EXPECT_FALSE(policy_.MustRemainEnabled(NULL, &error)); policy_ 128 extensions/browser/management_policy_unittest.cc policy_.RegisterProvider(&allow_all_); policy_ 129 extensions/browser/management_policy_unittest.cc EXPECT_FALSE(policy_.MustRemainEnabled(NULL, &error)); policy_ 133 extensions/browser/management_policy_unittest.cc policy_.RegisterProvider(&no_modify_status_); policy_ 134 extensions/browser/management_policy_unittest.cc EXPECT_FALSE(policy_.MustRemainEnabled(NULL, &error)); policy_ 138 extensions/browser/management_policy_unittest.cc policy_.RegisterProvider(&must_remain_enabled_); policy_ 139 extensions/browser/management_policy_unittest.cc EXPECT_TRUE(policy_.MustRemainEnabled(NULL, &error)); policy_ 143 extensions/browser/management_policy_unittest.cc policy_.UnregisterProvider(&must_remain_enabled_); policy_ 145 extensions/browser/management_policy_unittest.cc EXPECT_FALSE(policy_.MustRemainEnabled(NULL, &error)); policy_ 152 extensions/browser/management_policy_unittest.cc EXPECT_FALSE(policy_.MustRemainDisabled(NULL, NULL, &error)); policy_ 156 extensions/browser/management_policy_unittest.cc policy_.RegisterProvider(&allow_all_); policy_ 157 extensions/browser/management_policy_unittest.cc EXPECT_FALSE(policy_.MustRemainDisabled(NULL, NULL, &error)); policy_ 161 extensions/browser/management_policy_unittest.cc policy_.RegisterProvider(&no_modify_status_); policy_ 162 extensions/browser/management_policy_unittest.cc EXPECT_FALSE(policy_.MustRemainDisabled(NULL, NULL, &error)); policy_ 167 extensions/browser/management_policy_unittest.cc policy_.RegisterProvider(&must_remain_disabled_); policy_ 168 extensions/browser/management_policy_unittest.cc EXPECT_TRUE(policy_.MustRemainDisabled(NULL, &reason, &error)); policy_ 173 extensions/browser/management_policy_unittest.cc policy_.UnregisterProvider(&must_remain_disabled_); policy_ 175 extensions/browser/management_policy_unittest.cc EXPECT_FALSE(policy_.MustRemainDisabled(NULL, NULL, &error)); policy_ 185 extensions/browser/management_policy_unittest.cc EXPECT_TRUE(policy_.UserMayLoad(NULL, &error)); policy_ 187 extensions/browser/management_policy_unittest.cc EXPECT_TRUE(policy_.UserMayModifySettings(NULL, &error)); policy_ 189 extensions/browser/management_policy_unittest.cc EXPECT_FALSE(policy_.MustRemainEnabled(NULL, &error)); policy_ 193 extensions/browser/management_policy_unittest.cc EXPECT_TRUE(policy_.UserMayLoad(NULL, NULL)); policy_ 194 extensions/browser/management_policy_unittest.cc EXPECT_TRUE(policy_.UserMayModifySettings(NULL, NULL)); policy_ 195 extensions/browser/management_policy_unittest.cc EXPECT_FALSE(policy_.MustRemainEnabled(NULL, NULL)); policy_ 196 extensions/browser/management_policy_unittest.cc policy_.RegisterProvider(&restrict_all_); policy_ 197 extensions/browser/management_policy_unittest.cc EXPECT_FALSE(policy_.UserMayLoad(NULL, NULL)); policy_ 198 extensions/browser/management_policy_unittest.cc EXPECT_FALSE(policy_.UserMayModifySettings(NULL, NULL)); policy_ 199 extensions/browser/management_policy_unittest.cc EXPECT_TRUE(policy_.MustRemainEnabled(NULL, NULL)); policy_ 203 extensions/browser/management_policy_unittest.cc EXPECT_FALSE(policy_.UserMayLoad(NULL, &error)); policy_ 206 extensions/browser/management_policy_unittest.cc EXPECT_FALSE(policy_.UserMayModifySettings(NULL, &error)); policy_ 209 extensions/browser/management_policy_unittest.cc EXPECT_TRUE(policy_.MustRemainEnabled(NULL, &error)); policy_ 17 net/base/backoff_entry.cc : policy_(policy) { policy_ 18 net/base/backoff_entry.cc DCHECK(policy_); policy_ 51 net/base/backoff_entry.cc if (policy_->always_use_initial_delay) policy_ 52 net/base/backoff_entry.cc delay = base::TimeDelta::FromMilliseconds(policy_->initial_delay_ms); policy_ 78 net/base/backoff_entry.cc if (policy_->entry_lifetime_ms == -1) policy_ 93 net/base/backoff_entry.cc return unused_since_ms >= std::max(policy_->maximum_backoff_ms, policy_ 94 net/base/backoff_entry.cc policy_->entry_lifetime_ms); policy_ 99 net/base/backoff_entry.cc return unused_since_ms >= policy_->entry_lifetime_ms; policy_ 119 net/base/backoff_entry.cc std::max(0, failure_count_ - policy_->num_errors_to_ignore); policy_ 123 net/base/backoff_entry.cc if (policy_->always_use_initial_delay) policy_ 135 net/base/backoff_entry.cc double delay = policy_->initial_delay_ms; policy_ 136 net/base/backoff_entry.cc delay *= pow(policy_->multiply_factor, effective_failure_count - 1); policy_ 137 net/base/backoff_entry.cc delay -= base::RandDouble() * policy_->jitter_factor * delay; policy_ 144 net/base/backoff_entry.cc if (policy_->maximum_backoff_ms >= 0) policy_ 145 net/base/backoff_entry.cc delay_int = std::min(delay_int, policy_->maximum_backoff_ms); policy_ 108 net/base/backoff_entry.h const Policy* const policy_; policy_ 21 net/base/static_cookie_policy_unittest.cc policy_.set_type(type); policy_ 24 net/base/static_cookie_policy_unittest.cc return policy_.CanGetCookies(url, first_party); policy_ 27 net/base/static_cookie_policy_unittest.cc return policy_.CanSetCookie(url, first_party); policy_ 30 net/base/static_cookie_policy_unittest.cc StaticCookiePolicy policy_; policy_ 59 sandbox/linux/seccomp-bpf/bpf_tests.h : test_(t), policy_(p), aux_() {} policy_ 62 sandbox/linux/seccomp-bpf/bpf_tests.h sandbox::SandboxBPF::EvaluateSyscall policy() const { return policy_; } policy_ 68 sandbox/linux/seccomp-bpf/bpf_tests.h sandbox::SandboxBPF::EvaluateSyscall policy_; policy_ 494 sandbox/linux/seccomp-bpf/sandbox_bpf.cc DCHECK(!policy_); policy_ 499 sandbox/linux/seccomp-bpf/sandbox_bpf.cc policy_.reset(policy); policy_ 527 sandbox/linux/seccomp-bpf/sandbox_bpf.cc policy_.reset(); policy_ 549 sandbox/linux/seccomp-bpf/sandbox_bpf.cc DCHECK(policy_); policy_ 607 sandbox/linux/seccomp-bpf/sandbox_bpf.cc if (!policy_->EvaluateSyscall(this, __NR_rt_sigprocmask) policy_ 609 sandbox/linux/seccomp-bpf/sandbox_bpf.cc !policy_->EvaluateSyscall(this, __NR_rt_sigreturn) policy_ 613 sandbox/linux/seccomp-bpf/sandbox_bpf.cc !policy_->EvaluateSyscall(this, __NR_sigprocmask) policy_ 618 sandbox/linux/seccomp-bpf/sandbox_bpf.cc !policy_->EvaluateSyscall(this, __NR_sigreturn) policy_ 722 sandbox/linux/seccomp-bpf/sandbox_bpf.cc new RedirectToUserSpacePolicyWrapper(policy_.get())); policy_ 727 sandbox/linux/seccomp-bpf/sandbox_bpf.cc has_unsafe_traps ? *redirected_policy : *policy_, policy_ 741 sandbox/linux/seccomp-bpf/sandbox_bpf.cc ErrorCode old_err = policy_->EvaluateSyscall(this, old_sysnum); policy_ 742 sandbox/linux/seccomp-bpf/sandbox_bpf.cc ErrorCode invalid_err = policy_->EvaluateSyscall(this, MIN_SYSCALL - 1); policy_ 746 sandbox/linux/seccomp-bpf/sandbox_bpf.cc ErrorCode err = policy_->EvaluateSyscall(this, static_cast<int>(sysnum)); policy_ 268 sandbox/linux/seccomp-bpf/sandbox_bpf.h scoped_ptr<const SandboxBPFPolicy> policy_; policy_ 38 sandbox/win/src/policy_engine_processor.cc if (NULL == policy_) { policy_ 41 sandbox/win/src/policy_engine_processor.cc if (0 == policy_->opcode_count) { policy_ 52 sandbox/win/src/policy_engine_processor.cc size_t count = policy_->opcode_count; policy_ 64 sandbox/win/src/policy_engine_processor.cc PolicyOpcode& opcode = policy_->opcodes[ix]; policy_ 115 sandbox/win/src/policy_engine_processor.h : policy_(policy) { policy_ 139 sandbox/win/src/policy_engine_processor.h PolicyBuffer* policy_; policy_ 142 sandbox/win/src/sandbox_policy_base.cc delete policy_; policy_ 343 sandbox/win/src/sandbox_policy_base.cc if (NULL == policy_) { policy_ 344 sandbox/win/src/sandbox_policy_base.cc policy_ = MakeBrokerPolicyMemory(); policy_ 345 sandbox/win/src/sandbox_policy_base.cc DCHECK(policy_); policy_ 346 sandbox/win/src/sandbox_policy_base.cc policy_maker_ = new LowLevelPolicy(policy_); policy_ 512 sandbox/win/src/sandbox_policy_base.cc if (NULL != policy_) policy_ 527 sandbox/win/src/sandbox_policy_base.cc if (ERROR_SUCCESS != target->Init(this, policy_, kIPCMemSize, kPolMemSize)) policy_ 575 sandbox/win/src/sandbox_policy_base.cc if (NULL != policy_) { policy_ 576 sandbox/win/src/sandbox_policy_base.cc if (NULL == policy_->entry[service]) { policy_ 587 sandbox/win/src/sandbox_policy_base.cc PolicyProcessor pol_evaluator(policy_->entry[service]); policy_ 644 sandbox/win/src/sandbox_policy_base.cc if (policy_) { policy_ 646 sandbox/win/src/sandbox_policy_base.cc if (policy_->entry[i] && !ipc_targets_[i]->SetupService(&manager, i)) policy_ 143 sandbox/win/src/sandbox_policy_base.h PolicyGlobal* policy_; policy_ 106 sandbox/win/tests/common/controller.cc policy_ = NULL; policy_ 117 sandbox/win/tests/common/controller.cc policy_ = broker_->CreatePolicy(); policy_ 118 sandbox/win/tests/common/controller.cc if (!policy_) policy_ 121 sandbox/win/tests/common/controller.cc policy_->SetJobLevel(job_level, 0); policy_ 122 sandbox/win/tests/common/controller.cc policy_->SetTokenLevel(startup_token, main_token); policy_ 128 sandbox/win/tests/common/controller.cc return policy_; policy_ 135 sandbox/win/tests/common/controller.cc if (policy_) policy_ 136 sandbox/win/tests/common/controller.cc policy_->Release(); policy_ 145 sandbox/win/tests/common/controller.cc return (SBOX_ALL_OK == policy_->AddRule(subsystem, semantics, pattern)); policy_ 227 sandbox/win/tests/common/controller.cc result = broker_->SpawnTarget(prog_name, arguments.c_str(), policy_, policy_ 137 sandbox/win/tests/common/controller.h TargetPolicy* policy_; policy_ 43 webkit/browser/quota/mock_quota_manager_unittest.cc policy_ = new MockSpecialStoragePolicy; policy_ 48 webkit/browser/quota/mock_quota_manager_unittest.cc policy_.get()); policy_ 102 webkit/browser/quota/mock_quota_manager_unittest.cc scoped_refptr<MockSpecialStoragePolicy> policy_;