diff options
author | danmosemsft <danmose@microsoft.com> | 2017-02-10 16:07:45 -0800 |
---|---|---|
committer | danmosemsft <danmose@microsoft.com> | 2017-02-10 21:36:03 -0800 |
commit | 6302d7a50884c6cf239e74bad85988be7403fe72 (patch) | |
tree | cad87e67d0555107867ffd98030f66b5ef53ad70 /src/vm/corhost.cpp | |
parent | 751771a8976f909af772e35c167bd7e3ffbe44c8 (diff) | |
download | coreclr-6302d7a50884c6cf239e74bad85988be7403fe72.tar.gz coreclr-6302d7a50884c6cf239e74bad85988be7403fe72.tar.bz2 coreclr-6302d7a50884c6cf239e74bad85988be7403fe72.zip |
Remove always undefined FEATURE_APTCA
Diffstat (limited to 'src/vm/corhost.cpp')
-rw-r--r-- | src/vm/corhost.cpp | 93 |
1 files changed, 0 insertions, 93 deletions
diff --git a/src/vm/corhost.cpp b/src/vm/corhost.cpp index 369d6fcfd7..e00482168d 100644 --- a/src/vm/corhost.cpp +++ b/src/vm/corhost.cpp @@ -5542,92 +5542,6 @@ public: static CCLRAppDomainResourceMonitor s_Arm; #endif //FEATURE_APPDOMAIN_RESOURCE_MONITORING -#ifdef FEATURE_APTCA -class CLRDomainManager : public ICLRDomainManager -{ -public: - virtual HRESULT STDMETHODCALLTYPE SetAppDomainManagerType(__in LPCWSTR wszAppDomainManagerAssembly, - __in LPCWSTR wszAppDomainManagerType, - EInitializeNewDomainFlags dwInitializeDomainFlags) - { - CONTRACTL - { - NOTHROW; - GC_NOTRIGGER; - ENTRY_POINT; - } - CONTRACTL_END; - - HRESULT hr = S_OK; - BEGIN_ENTRYPOINT_NOTHROW; - - hr = CorHost2::SetAppDomainManagerType(wszAppDomainManagerAssembly, - wszAppDomainManagerType, - dwInitializeDomainFlags); - END_ENTRYPOINT_NOTHROW; - return hr; - } - - virtual HRESULT STDMETHODCALLTYPE SetPropertiesForDefaultAppDomain(DWORD nProperties, - __in_ecount(nProperties) LPCWSTR *pwszPropertyNames, - __in_ecount(nProperties) LPCWSTR *pwszPropertyValues) - { - CONTRACTL - { - NOTHROW; - GC_NOTRIGGER; - } - CONTRACTL_END; - - HRESULT hr = S_OK; - BEGIN_ENTRYPOINT_NOTHROW; - - hr = CorHost2::SetPropertiesForDefaultAppDomain(nProperties, pwszPropertyNames, pwszPropertyValues); - - END_ENTRYPOINT_NOTHROW; - return hr; - } - - virtual ULONG STDMETHODCALLTYPE AddRef() - { - LIMITED_METHOD_CONTRACT; - return 1; - } - - virtual ULONG STDMETHODCALLTYPE Release() - { - LIMITED_METHOD_CONTRACT; - return 1; - } - - virtual HRESULT STDMETHODCALLTYPE QueryInterface(__in REFIID riid, __out LPVOID *ppvObject) - { - LIMITED_METHOD_CONTRACT; - - if (ppvObject == NULL) - return E_POINTER; - - *ppvObject = NULL; - - if (riid == IID_ICLRDomainManager) - { - *ppvObject = this; - } - else if (riid == IID_IUnknown) - { - *ppvObject = static_cast<IUnknown *>(this); - } - - if (*ppvObject == NULL) - return E_NOINTERFACE; - - AddRef(); - return S_OK; - } -}; - -static CLRDomainManager s_CLRDomainManager; -#endif // FEATURE_APTCA BOOL g_CLRPolicyRequested = FALSE; @@ -5724,13 +5638,6 @@ public: return S_OK; } #endif //FEATURE_APPDOMAIN_RESOURCE_MONITORING -#ifdef FEATURE_APTCA - else if (riid == IID_ICLRDomainManager) - { - *ppObject = &s_CLRDomainManager; - return S_OK; - } -#endif // FEATURE_APTCA else return (E_NOINTERFACE); } |