debugsrv/runmodedebug/tsrc/rm_debug/basic_tests/r_kernel_low_memory_security_svr_session.h
changeset 56 aa2539c91954
equal deleted inserted replaced
54:a151135b0cf9 56:aa2539c91954
       
     1 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // Version of security server session to enable testing of low memory conditions on kernel side
       
    15 // 
       
    16 //
       
    17 
       
    18 
       
    19 #ifndef R_KERNEL_LOW_MEMORY_SECURITY_SVR_SESSION_H
       
    20 #define R_KERNEL_LOW_MEMORY_SECURITY_SVR_SESSION_H
       
    21 
       
    22 #include "r_low_memory_security_svr_session.h"
       
    23 
       
    24 class RKernelLowMemorySecuritySvrSession : public RLowMemorySecuritySvrSession
       
    25 	{
       
    26 protected:
       
    27 	void FailAlloc(const TInt aCount);
       
    28 	void HeapReset();
       
    29 	void MarkHeap();
       
    30 	void MarkHeapEnd();
       
    31 	};
       
    32 
       
    33 #endif //R_KERNEL_LOW_MEMORY_SECURITY_SVR_SESSION_H
       
    34