Home
last modified time | relevance | path

Searched refs:UserMayModifySettings (Results 1 – 23 of 23) 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
63 bool ManagementPolicy::UserMayModifySettings(const Extension* extension, in UserMayModifySettings() function in extensions::ManagementPolicy
65 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, string16* error);
Dtest_management_policy.h43 virtual bool UserMayModifySettings(const Extension* extension,
Dtest_management_policy.cc50 bool TestManagementPolicyProvider::UserMayModifySettings( in UserMayModifySettings() function in extensions::TestManagementPolicyProvider
Dadmin_policy.cc112 bool UserMayModifySettings(const Extension* extension, string16* error) { in UserMayModifySettings() function
/external/chromium_org/chrome/browser/extensions/
Dstandard_management_policy_provider.cc53 bool StandardManagementPolicyProvider::UserMayModifySettings( in UserMayModifySettings() function in extensions::StandardManagementPolicyProvider
56 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.cc89 profile_)->management_policy()->UserMayModifySettings(extension, NULL); in IsCommandIdEnabled()
Dextension_service.cc170 virtual bool UserMayModifySettings(const Extension* extension, in UserMayModifySettings() function in __anond4b06b550111::SharedModuleProvider
876 !system_->management_policy()->UserMayModifySettings( in UninstallExtension()
1066 !system_->management_policy()->UserMayModifySettings(extension, NULL)) { in DisableExtension()
1104 if (management_policy->UserMayModifySettings(extension->get(), NULL)) in DisableUserExtensions()
1109 if (management_policy->UserMayModifySettings(extension->get(), NULL)) in DisableUserExtensions()
/external/chromium_org/chrome/browser/ui/app_list/
Dapp_list_controller_delegate.cc56 bool AppListControllerDelegate::UserMayModifySettings( in UserMayModifySettings() function in AppListControllerDelegate
63 policy->UserMayModifySettings(extension, NULL); in UserMayModifySettings()
Dapp_list_controller_delegate.h110 bool UserMayModifySettings(Profile* profile, const std::string& app_id);
Dapp_context_menu.cc207 return controller_->UserMayModifySettings(profile_, app_id_); in IsCommandIdEnabled()
/external/chromium_org/chrome/browser/managed_mode/
Dmanaged_user_service_unittest.cc242 managed_user_service->UserMayModifySettings(extension.get(), &error_2)); in TEST_F()
261 managed_user_service->UserMayModifySettings(theme.get(), &error_1)); in TEST_F()
271 managed_user_service->UserMayModifySettings(extension.get(), &error_2)); in TEST_F()
Dmanaged_user_service.h139 virtual bool UserMayModifySettings(const extensions::Extension* extension,
Dmanaged_user_service.cc315 bool ManagedUserService::UserMayModifySettings( in UserMayModifySettings() function in ManagedUserService
/external/chromium_org/chrome/browser/extensions/api/management/
Dmanagement_api.cc109 UserMayModifySettings(&extension, NULL); in CreateExtensionInfo()
474 if (!policy->UserMayModifySettings(extension, NULL) || in RunImpl()
541 ->UserMayModifySettings(extension, NULL)) { in Uninstall()
/external/chromium_org/chrome/browser/ui/webui/extensions/
Dextension_settings_handler.cc208 !management_policy_->UserMayModifySettings(extension, NULL); in CreateExtensionDetailValue()
842 !management_policy_->UserMayModifySettings(extension, NULL)) { in HandleEnableMessage()
914 if (!management_policy_->UserMayModifySettings(extension, NULL)) { in HandleAllowFileAccessMessage()
935 if (!management_policy_->UserMayModifySettings(extension, NULL)) { in HandleUninstallMessage()
/external/chromium_org/chrome/browser/ui/webui/ntp/
Dapp_launcher_handler.cc133 service->profile())->management_policy()->UserMayModifySettings( in CreateAppInfo()
579 management_policy()->UserMayModifySettings(extension, NULL)) { in HandleUninstallApp()
/external/chromium_org/chrome/browser/extensions/api/developer_private/
Ddeveloper_private_api.cc359 UserMayModifySettings(&item, NULL); in CreateItemInfo()
594 } else if (!management_policy->UserMayModifySettings(extension, NULL)) { in RunImpl()
715 if (!policy->UserMayModifySettings(extension, NULL) || in RunImpl()