|
@@ -17,6 +17,8 @@
|
|
|
#include <boost/thread/mutex.hpp>
|
|
|
#include <boost/container/deque.hpp> //不知为什么,vs2010中std::deque没有函数提示
|
|
|
|
|
|
+//#define TEST_FUNCTION
|
|
|
+
|
|
|
|
|
|
//ns::msg 在gcc下拼接有点问题,暂时不得不重新定义一个
|
|
|
#define SP_MSG_HANDLE_NS_EX(ns, msg, ns_msg, OnMsg) \
|
|
@@ -154,8 +156,6 @@ namespace Chromium {
|
|
|
virtual void OnSysVarEvent(const char* pszKey, const char* pszValue, const char* pszOldValue, const char* pszEntityName);
|
|
|
void DoWithSysVarEvent();
|
|
|
|
|
|
-
|
|
|
-
|
|
|
void checkUrlStartTime();
|
|
|
|
|
|
void DoBrowserCacheClearJob();
|
|
@@ -164,6 +164,12 @@ namespace Chromium {
|
|
|
bool OnPreStart_socketStart(CAutoArray<CSimpleStringA>& strArgs, CSmartPointer<ITransactionContext>& pTransactionContext);
|
|
|
bool OnPreStart_register(CAutoArray<CSimpleStringA>& strArgs, CSmartPointer<ITransactionContext>& pTransactionContext);
|
|
|
bool OnPreStart_openWeb();
|
|
|
+
|
|
|
+
|
|
|
+#ifdef TEST_FUNCTION
|
|
|
+ public:
|
|
|
+ void testLogError();
|
|
|
+#endif
|
|
|
SP_BEGIN_MSG_DISPATCH_MAP(CChromiumEntity)
|
|
|
SP_BEGIN_ENTITY_MSG("ResourceWatcher")
|
|
|
SP_MSG_HANDLE_NS_EX(ResourceWatcher, BrowserCacheClean, ResourceWatcher::BrowserCacheClean, OnBrowserCacheClean)
|
|
@@ -174,7 +180,7 @@ namespace Chromium {
|
|
|
//SP_END_ENTITY_MSG()
|
|
|
SP_END_MSG_DISPATCH_MAP()
|
|
|
|
|
|
- };
|
|
|
|
|
|
+ };
|
|
|
}
|
|
|
#endif
|