/external/chromium_org/extensions/browser/ |
D | management_policy_unittest.cc | 93 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()
|
D | management_policy.cc | 32 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()
|
D | admin_policy_unittest.cc | 170 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()
|
D | management_policy.h | 60 virtual bool UserMayModifySettings(const Extension* extension, 97 bool UserMayModifySettings(const Extension* extension,
|
D | admin_policy.h | 33 bool UserMayModifySettings(const Extension* extension, string16* error);
|
D | test_management_policy.h | 43 virtual bool UserMayModifySettings(const Extension* extension,
|
D | test_management_policy.cc | 50 bool TestManagementPolicyProvider::UserMayModifySettings( in UserMayModifySettings() function in extensions::TestManagementPolicyProvider
|
D | admin_policy.cc | 112 bool UserMayModifySettings(const Extension* extension, string16* error) { in UserMayModifySettings() function
|
/external/chromium_org/chrome/browser/extensions/ |
D | standard_management_policy_provider.cc | 53 bool StandardManagementPolicyProvider::UserMayModifySettings( in UserMayModifySettings() function in extensions::StandardManagementPolicyProvider 56 return admin_policy::UserMayModifySettings(extension, error); in UserMayModifySettings()
|
D | standard_management_policy_provider_unittest.cc | 64 EXPECT_FALSE(provider_.UserMayModifySettings(extension.get(), &error16)); in TEST_F() 79 EXPECT_TRUE(provider_.UserMayModifySettings(extension.get(), &error16)); in TEST_F()
|
D | standard_management_policy_provider.h | 29 virtual bool UserMayModifySettings(const Extension* extension,
|
D | extension_context_menu_model.cc | 89 profile_)->management_policy()->UserMayModifySettings(extension, NULL); in IsCommandIdEnabled()
|
D | extension_service.cc | 170 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/ |
D | app_list_controller_delegate.cc | 56 bool AppListControllerDelegate::UserMayModifySettings( in UserMayModifySettings() function in AppListControllerDelegate 63 policy->UserMayModifySettings(extension, NULL); in UserMayModifySettings()
|
D | app_list_controller_delegate.h | 110 bool UserMayModifySettings(Profile* profile, const std::string& app_id);
|
D | app_context_menu.cc | 207 return controller_->UserMayModifySettings(profile_, app_id_); in IsCommandIdEnabled()
|
/external/chromium_org/chrome/browser/managed_mode/ |
D | managed_user_service_unittest.cc | 242 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()
|
D | managed_user_service.h | 139 virtual bool UserMayModifySettings(const extensions::Extension* extension,
|
D | managed_user_service.cc | 315 bool ManagedUserService::UserMayModifySettings( in UserMayModifySettings() function in ManagedUserService
|
/external/chromium_org/chrome/browser/extensions/api/management/ |
D | management_api.cc | 109 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/ |
D | extension_settings_handler.cc | 208 !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/ |
D | app_launcher_handler.cc | 133 service->profile())->management_policy()->UserMayModifySettings( in CreateAppInfo() 579 management_policy()->UserMayModifySettings(extension, NULL)) { in HandleUninstallApp()
|
/external/chromium_org/chrome/browser/extensions/api/developer_private/ |
D | developer_private_api.cc | 359 UserMayModifySettings(&item, NULL); in CreateItemInfo() 594 } else if (!management_policy->UserMayModifySettings(extension, NULL)) { in RunImpl() 715 if (!policy->UserMayModifySettings(extension, NULL) || in RunImpl()
|