management 66 chrome/browser/extensions/api/management/management_api.cc namespace management = api::management; management 70 chrome/browser/extensions/api/management/management_api.cc typedef std::vector<linked_ptr<management::ExtensionInfo> > ExtensionInfoList; management 71 chrome/browser/extensions/api/management/management_api.cc typedef std::vector<linked_ptr<management::IconInfo> > IconInfoList; management 93 chrome/browser/extensions/api/management/management_api.cc scoped_ptr<management::ExtensionInfo> CreateExtensionInfo( management 96 chrome/browser/extensions/api/management/management_api.cc scoped_ptr<management::ExtensionInfo> info(new management::ExtensionInfo()); management 114 chrome/browser/extensions/api/management/management_api.cc info->type = management::ExtensionInfo::TYPE_LEGACY_PACKAGED_APP; management 116 chrome/browser/extensions/api/management/management_api.cc info->type = management::ExtensionInfo::TYPE_HOSTED_APP; management 118 chrome/browser/extensions/api/management/management_api.cc info->type = management::ExtensionInfo::TYPE_PACKAGED_APP; management 120 chrome/browser/extensions/api/management/management_api.cc info->type = management::ExtensionInfo::TYPE_THEME; management 122 chrome/browser/extensions/api/management/management_api.cc info->type = management::ExtensionInfo::TYPE_EXTENSION; management 126 chrome/browser/extensions/api/management/management_api.cc info->disabled_reason = management::ExtensionInfo::DISABLED_REASON_NONE; management 131 chrome/browser/extensions/api/management/management_api.cc management::ExtensionInfo::DISABLED_REASON_PERMISSIONS_INCREASE; management 134 chrome/browser/extensions/api/management/management_api.cc management::ExtensionInfo::DISABLED_REASON_UNKNOWN; management 154 chrome/browser/extensions/api/management/management_api.cc management::IconInfo* icon_info = new management::IconInfo(); management 160 chrome/browser/extensions/api/management/management_api.cc info->icons->push_back(make_linked_ptr<management::IconInfo>(icon_info)); management 186 chrome/browser/extensions/api/management/management_api.cc info->install_type = management::ExtensionInfo::INSTALL_TYPE_NORMAL; management 190 chrome/browser/extensions/api/management/management_api.cc info->install_type = management::ExtensionInfo::INSTALL_TYPE_DEVELOPMENT; management 195 chrome/browser/extensions/api/management/management_api.cc info->install_type = management::ExtensionInfo::INSTALL_TYPE_SIDELOAD; management 199 chrome/browser/extensions/api/management/management_api.cc info->install_type = management::ExtensionInfo::INSTALL_TYPE_ADMIN; management 206 chrome/browser/extensions/api/management/management_api.cc info->install_type = management::ExtensionInfo::INSTALL_TYPE_OTHER; management 223 chrome/browser/extensions/api/management/management_api.cc extension_list->push_back(make_linked_ptr<management::ExtensionInfo>( management 247 chrome/browser/extensions/api/management/management_api.cc results_ = management::GetAll::Results::Create(extensions); management 252 chrome/browser/extensions/api/management/management_api.cc scoped_ptr<management::Get::Params> params( management 253 chrome/browser/extensions/api/management/management_api.cc management::Get::Params::Create(*args_)); management 263 chrome/browser/extensions/api/management/management_api.cc scoped_ptr<management::ExtensionInfo> info = management 265 chrome/browser/extensions/api/management/management_api.cc results_ = management::Get::Results::Create(*info); management 271 chrome/browser/extensions/api/management/management_api.cc scoped_ptr<management::GetPermissionWarningsById::Params> params( management 272 chrome/browser/extensions/api/management/management_api.cc management::GetPermissionWarningsById::Params::Create(*args_)); management 283 chrome/browser/extensions/api/management/management_api.cc results_ = management::GetPermissionWarningsById::Results::Create(warnings); management 377 chrome/browser/extensions/api/management/management_api.cc scoped_ptr<management::GetPermissionWarningsByManifest::Params> params( management 378 chrome/browser/extensions/api/management/management_api.cc management::GetPermissionWarningsByManifest::Params::Create(*args_)); management 406 chrome/browser/extensions/api/management/management_api.cc management::GetPermissionWarningsByManifest::Results::Create(warnings); management 423 chrome/browser/extensions/api/management/management_api.cc scoped_ptr<management::LaunchApp::Params> params( management 424 chrome/browser/extensions/api/management/management_api.cc management::LaunchApp::Params::Create(*args_)); management 461 chrome/browser/extensions/api/management/management_api.cc scoped_ptr<management::SetEnabled::Params> params( management 462 chrome/browser/extensions/api/management/management_api.cc management::SetEnabled::Params::Create(*args_)); management 612 chrome/browser/extensions/api/management/management_api.cc scoped_ptr<management::Uninstall::Params> params( management 613 chrome/browser/extensions/api/management/management_api.cc management::Uninstall::Params::Create(*args_)); management 639 chrome/browser/extensions/api/management/management_api.cc scoped_ptr<management::UninstallSelf::Params> params( management 640 chrome/browser/extensions/api/management/management_api.cc management::UninstallSelf::Params::Create(*args_)); management 680 chrome/browser/extensions/api/management/management_api.cc event_name = management::OnInstalled::kEventName; management 685 chrome/browser/extensions/api/management/management_api.cc event_name = management::OnUninstalled::kEventName; management 689 chrome/browser/extensions/api/management/management_api.cc event_name = management::OnEnabled::kEventName; management 693 chrome/browser/extensions/api/management/management_api.cc event_name = management::OnDisabled::kEventName; management 708 chrome/browser/extensions/api/management/management_api.cc if (event_name == management::OnUninstalled::kEventName) { management 711 chrome/browser/extensions/api/management/management_api.cc scoped_ptr<management::ExtensionInfo> info = CreateExtensionInfo( management 724 chrome/browser/extensions/api/management/management_api.cc event_router->RegisterObserver(this, management::OnInstalled::kEventName); management 725 chrome/browser/extensions/api/management/management_api.cc event_router->RegisterObserver(this, management::OnUninstalled::kEventName); management 726 chrome/browser/extensions/api/management/management_api.cc event_router->RegisterObserver(this, management::OnEnabled::kEventName); management 727 chrome/browser/extensions/api/management/management_api.cc event_router->RegisterObserver(this, management::OnDisabled::kEventName);