Home
last modified time | relevance | path

Searched refs:UserMayModifySettings (Results 1 – 24 of 24) sorted by relevance

/external/chromium_org/extensions/browser/
Dmanagement_policy_unittest.cc93 TEST_F(ManagementPolicyTest, UserMayModifySettings) { in TEST_F() argument
96 EXPECT_TRUE(policy_.UserMayModifySettings(NULL, &error)); in TEST_F()
101 EXPECT_TRUE(policy_.UserMayModifySettings(NULL, &error)); in TEST_F()
106 EXPECT_TRUE(policy_.UserMayModifySettings(NULL, &error)); in TEST_F()
111 EXPECT_FALSE(policy_.UserMayModifySettings(NULL, &error)); in TEST_F()
117 EXPECT_TRUE(policy_.UserMayModifySettings(NULL, &error)); in TEST_F()
187 EXPECT_TRUE(policy_.UserMayModifySettings(NULL, &error)); in TEST_F()
194 EXPECT_TRUE(policy_.UserMayModifySettings(NULL, NULL)); in TEST_F()
198 EXPECT_FALSE(policy_.UserMayModifySettings(NULL, NULL)); in TEST_F()
206 EXPECT_FALSE(policy_.UserMayModifySettings(NULL, &error)); in TEST_F()
Dmanagement_policy.cc32 bool ManagementPolicy::Provider::UserMayModifySettings( in UserMayModifySettings() function in extensions::ManagementPolicy::Provider
64 bool ManagementPolicy::UserMayModifySettings(const Extension* extension, in UserMayModifySettings() function in extensions::ManagementPolicy
66 return ApplyToProviderList(&Provider::UserMayModifySettings, "Modification", in UserMayModifySettings()
Dadmin_policy_unittest.cc170 TEST_F(ExtensionAdminPolicyTest, UserMayModifySettings) { in TEST_F() argument
172 EXPECT_TRUE(ap::UserMayModifySettings(extension_.get(), NULL)); in TEST_F()
174 EXPECT_TRUE(ap::UserMayModifySettings(extension_.get(), &error)); in TEST_F()
179 EXPECT_FALSE(ap::UserMayModifySettings(extension_.get(), NULL)); in TEST_F()
180 EXPECT_FALSE(ap::UserMayModifySettings(extension_.get(), &error)); in TEST_F()
Dmanagement_policy.h60 virtual bool UserMayModifySettings(const Extension* extension,
97 bool UserMayModifySettings(const Extension* extension,
Dadmin_policy.h33 bool UserMayModifySettings(const Extension* extension, base::string16* error);
Dtest_management_policy.h42 virtual bool UserMayModifySettings(const Extension* extension,
Dtest_management_policy.cc50 bool TestManagementPolicyProvider::UserMayModifySettings( in UserMayModifySettings() function in extensions::TestManagementPolicyProvider
Dadmin_policy.cc121 bool UserMayModifySettings(const Extension* extension, base::string16* error) { in UserMayModifySettings() function
/external/chromium_org/chrome/browser/extensions/
Dstandard_management_policy_provider.cc54 bool StandardManagementPolicyProvider::UserMayModifySettings( in UserMayModifySettings() function in extensions::StandardManagementPolicyProvider
57 return admin_policy::UserMayModifySettings(extension, error); in UserMayModifySettings()
Dstandard_management_policy_provider_unittest.cc64 EXPECT_FALSE(provider_.UserMayModifySettings(extension.get(), &error16)); in TEST_F()
79 EXPECT_TRUE(provider_.UserMayModifySettings(extension.get(), &error16)); in TEST_F()
Dstandard_management_policy_provider.h29 virtual bool UserMayModifySettings(const Extension* extension,
Dextension_context_menu_model.cc90 profile_)->management_policy()->UserMayModifySettings(extension, NULL); in IsCommandIdEnabled()
Dextension_service.cc137 virtual bool UserMayModifySettings(const Extension* extension, in UserMayModifySettings() function in __anon14761ccf0111::SharedModuleProvider
717 !system_->management_policy()->UserMayModifySettings( in UninstallExtension()
894 !system_->management_policy()->UserMayModifySettings(extension, NULL)) { in DisableExtension()
935 if (management_policy->UserMayModifySettings(extension->get(), NULL) && in DisableUserExtensions()
942 if (management_policy->UserMayModifySettings(extension->get(), NULL) && in DisableUserExtensions()
/external/chromium_org/chrome/browser/ui/app_list/
Dapp_list_controller_delegate.cc79 bool AppListControllerDelegate::UserMayModifySettings( in UserMayModifySettings() function in AppListControllerDelegate
86 policy->UserMayModifySettings(extension, NULL); in UserMayModifySettings()
Dapp_list_controller_delegate.h125 bool UserMayModifySettings(Profile* profile, const std::string& app_id);
Dapp_context_menu.cc221 return controller_->UserMayModifySettings(profile_, app_id_); in IsCommandIdEnabled()
/external/chromium_org/chrome/browser/supervised_user/
Dsupervised_user_service_unittest.cc245 supervised_user_service->UserMayModifySettings(extension.get(), in TEST_F()
265 supervised_user_service->UserMayModifySettings(theme.get(), &error_1)); in TEST_F()
275 supervised_user_service->UserMayModifySettings(extension.get(), in TEST_F()
Dsupervised_user_service.h158 virtual bool UserMayModifySettings(const extensions::Extension* extension,
Dsupervised_user_service.cc321 bool SupervisedUserService::UserMayModifySettings( in UserMayModifySettings() function in SupervisedUserService
/external/chromium_org/chrome/browser/ui/views/apps/app_info_dialog/
Dapp_info_footer_panel.cc172 ->UserMayModifySettings(app_, NULL); in CanUninstallApp()
/external/chromium_org/chrome/browser/extensions/api/management/
Dmanagement_api.cc136 UserMayModifySettings(&extension, NULL); in CreateExtensionInfo()
540 if (!policy->UserMayModifySettings(extension, NULL) || in RunAsync()
609 ->UserMayModifySettings(target_extension, NULL)) { in Uninstall()
/external/chromium_org/chrome/browser/ui/webui/extensions/
Dextension_settings_handler.cc226 !management_policy_->UserMayModifySettings(extension, NULL); in CreateExtensionDetailValue()
942 if (!management_policy_->UserMayModifySettings(extension, NULL)) { in HandleEnableMessage()
1026 if (!management_policy_->UserMayModifySettings(extension, NULL)) { in HandleAllowFileAccessMessage()
1060 if (!management_policy_->UserMayModifySettings(extension, NULL)) { in HandleUninstallMessage()
/external/chromium_org/chrome/browser/extensions/api/developer_private/
Ddeveloper_private_api.cc449 UserMayModifySettings(&item, NULL); in CreateItemInfo()
686 } else if (!management_policy->UserMayModifySettings(extension, NULL)) { in RunSync()
808 if (!policy->UserMayModifySettings(extension, NULL) || in RunSync()
/external/chromium_org/chrome/browser/ui/webui/ntp/
Dapp_launcher_handler.cc135 service->profile())->management_policy()->UserMayModifySettings( in CreateAppInfo()
580 management_policy()->UserMayModifySettings(extension, NULL)) { in HandleUninstallApp()