Home
last modified time | relevance | path

Searched refs:UserMayLoad (Results 1 – 22 of 22) sorted by relevance

/external/chromium_org/chrome/browser/chromeos/extensions/
Ddevice_local_account_management_policy_provider_unittest.cc84 EXPECT_TRUE(provider.UserMayLoad(extension.get(), &error)); in TEST()
92 EXPECT_TRUE(provider.UserMayLoad(extension.get(), &error)); in TEST()
100 EXPECT_TRUE(provider.UserMayLoad(extension.get(), &error)); in TEST()
109 EXPECT_FALSE(provider.UserMayLoad(extension.get(), &error)); in TEST()
122 EXPECT_TRUE(provider.UserMayLoad(extension.get(), &error)); in TEST()
131 EXPECT_FALSE(provider.UserMayLoad(extension.get(), &error)); in TEST()
140 EXPECT_FALSE(provider.UserMayLoad(extension.get(), &error)); in TEST()
149 EXPECT_FALSE(provider.UserMayLoad(extension.get(), &error)); in TEST()
Ddevice_local_account_management_policy_provider.h27 virtual bool UserMayLoad(const extensions::Extension* extension,
Ddevice_local_account_management_policy_provider.cc100 bool DeviceLocalAccountManagementPolicyProvider::UserMayLoad( in UserMayLoad() function in chromeos::DeviceLocalAccountManagementPolicyProvider
/external/chromium_org/extensions/browser/
Dmanagement_policy_unittest.cc64 TEST_F(ManagementPolicyTest, UserMayLoad) { in TEST_F() argument
69 EXPECT_TRUE(policy_.UserMayLoad(NULL, &error)); in TEST_F()
74 EXPECT_TRUE(policy_.UserMayLoad(NULL, &error)); in TEST_F()
79 EXPECT_TRUE(policy_.UserMayLoad(NULL, &error)); in TEST_F()
84 EXPECT_FALSE(policy_.UserMayLoad(NULL, &error)); in TEST_F()
90 EXPECT_TRUE(policy_.UserMayLoad(NULL, &error)); in TEST_F()
185 EXPECT_TRUE(policy_.UserMayLoad(NULL, &error)); in TEST_F()
193 EXPECT_TRUE(policy_.UserMayLoad(NULL, NULL)); in TEST_F()
197 EXPECT_FALSE(policy_.UserMayLoad(NULL, NULL)); in TEST_F()
203 EXPECT_FALSE(policy_.UserMayLoad(NULL, &error)); in TEST_F()
Dmanagement_policy.cc27 bool ManagementPolicy::Provider::UserMayLoad(const Extension* extension, in UserMayLoad() function in extensions::ManagementPolicy::Provider
58 bool ManagementPolicy::UserMayLoad(const Extension* extension, in UserMayLoad() function in extensions::ManagementPolicy
60 return ApplyToProviderList(&Provider::UserMayLoad, "Installation", in UserMayLoad()
Dmanagement_policy.h54 virtual bool UserMayLoad(const Extension* extension,
92 bool UserMayLoad(const Extension* extension, base::string16* error) const;
Dtest_management_policy.h39 virtual bool UserMayLoad(const Extension* extension,
Dtest_management_policy.cc43 bool TestManagementPolicyProvider::UserMayLoad(const Extension* extension, in UserMayLoad() function in extensions::TestManagementPolicyProvider
/external/chromium_org/chrome/browser/extensions/
Dextension_management_unittest.cc147 bool UserMayLoad(const base::ListValue* blacklist,
168 bool ExtensionAdminPolicyTest::UserMayLoad( in UserMayLoad() function in extensions::ExtensionAdminPolicyTest
184 return extension_management_->GetProvider()->UserMayLoad(extension, error); in UserMayLoad()
576 EXPECT_TRUE(UserMayLoad(NULL, NULL, NULL, NULL, extension_.get(), NULL)); in TEST_F()
578 EXPECT_TRUE(UserMayLoad(NULL, NULL, NULL, NULL, extension_.get(), &error)); in TEST_F()
585 UserMayLoad(&blacklist, NULL, NULL, NULL, extension_.get(), NULL)); in TEST_F()
589 UserMayLoad(&blacklist, NULL, NULL, NULL, extension_.get(), NULL)); in TEST_F()
595 EXPECT_TRUE(UserMayLoad(NULL, NULL, NULL, NULL, extension_.get(), NULL)); in TEST_F()
598 UserMayLoad(&blacklist, NULL, NULL, NULL, extension_.get(), NULL)); in TEST_F()
601 UserMayLoad(&blacklist, NULL, NULL, NULL, extension_.get(), &error)); in TEST_F()
[all …]
Dstandard_management_policy_provider_unittest.cc63 EXPECT_TRUE(provider_.UserMayLoad(extension.get(), &error16)); in TEST_F()
81 EXPECT_TRUE(provider_.UserMayLoad(extension.get(), &error16)); in TEST_F()
Dstandard_management_policy_provider.h27 virtual bool UserMayLoad(const Extension* extension,
Dextension_error_controller.cc131 if (!management_policy->UserMayLoad(extension, NULL /* ignore error */)) { in IdentifyAlertableExtensions()
Dstandard_management_policy_provider.cc73 bool StandardManagementPolicyProvider::UserMayLoad( in UserMayLoad() function in extensions::StandardManagementPolicyProvider
Dextension_install_checker.cc73 bool allow = ExtensionSystem::Get(profile_)->management_policy()->UserMayLoad( in CheckManagementPolicy()
Dinstalled_loader.cc199 if (!policy->UserMayLoad(extension.get(), NULL)) { in Load()
Dcrx_installer_browsertest.cc155 virtual bool UserMayLoad(const Extension* extension, in UserMayLoad() function in extensions::__anon586ff2d20111::ManagementPolicyMock
Dextension_service.cc1129 if (!system_->management_policy()->UserMayLoad(extension, NULL)) in CheckManagementPolicy()
/external/chromium_org/chrome/browser/supervised_user/
Dsupervised_user_service_unittest.cc244 EXPECT_TRUE(supervised_user_service->UserMayLoad(extension.get(), &error_1)); in TEST_F()
266 EXPECT_TRUE(supervised_user_service->UserMayLoad(theme.get(), &error_1)); in TEST_F()
274 EXPECT_FALSE(supervised_user_service->UserMayLoad(extension.get(), &error_1)); in TEST_F()
285 EXPECT_TRUE(supervised_user_service->UserMayLoad(extension_2.get(), in TEST_F()
Dsupervised_user_service.h181 virtual bool UserMayLoad(const extensions::Extension* extension,
Dsupervised_user_service.cc344 bool SupervisedUserService::UserMayLoad(const extensions::Extension* extension, in UserMayLoad() function in SupervisedUserService
/external/chromium_org/chrome/browser/apps/
Dephemeral_app_launcher.cc79 if (!management_policy->UserMayLoad(extension, &policy_error)) { in CheckCommonLaunchCriteria()
Dephemeral_app_launcher_browsertest.cc181 virtual bool UserMayLoad(const Extension* extension, in UserMayLoad() function in __anonb57a96c00111::ManagementPolicyMock