Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(26)

Unified Diff: experimental/LightSymbolsUtil/lightsymbols/lightsymbols.h

Issue 1512753006: Remove unused CallStacker (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: experimental/LightSymbolsUtil/lightsymbols/lightsymbols.h
diff --git a/experimental/LightSymbolsUtil/lightsymbols/lightsymbols.h b/experimental/LightSymbolsUtil/lightsymbols/lightsymbols.h
deleted file mode 100644
index 02494e63b5481675f2c763a1d0e39158db066eb8..0000000000000000000000000000000000000000
--- a/experimental/LightSymbolsUtil/lightsymbols/lightsymbols.h
+++ /dev/null
@@ -1,50 +0,0 @@
-#ifndef __LIGHT_SYMBOLS__
-#define __LIGHT_SYMBOLS__
-#define LS_TRACE(functionName,fileId,lineNumber) LightSymbol __lstr(functionName,fileId,lineNumber);
-
-#include <stdio.h>
-#include <string.h>
-#include <stdlib.h>
-
-//#include <pthread.h>
-#include <windows.h>
-
-typedef char* SZ;
-
-#define LIGHT_SYMBOLS_FILE "LIGHT_SYMBOLS_FILE"
-
-class LightSymbol {
- const char* sym;
- int fileId;
- int lineNumber;
-
- LightSymbol* parentFrame;
-
- typedef LightSymbol* PLightSymbol;
-
- static PLightSymbol lsFrames[1000];
- static HANDLE handleFrames[1000];
- static SZ* fileNames;
- static bool busted;
-
-public:
- LightSymbol(const char* sym, int fileId, int lineNumber);
-
- ~LightSymbol();
-
- static bool GetCallStack(char* sz, int len, const char* separator);
-
-private:
-
- static LightSymbol** getThreadFrameContainer();
-
- bool GetCallStackCore(char* sz, int len, const char* separator) const ;
-
- static LightSymbol* GetCurrentFrame() ;
-
- static void SetCurrentFrame(LightSymbol* ls) ;
-
- static const char* trim(char* sz) ;
-};
-
-#endif
« no previous file with comments | « experimental/LightSymbolsUtil/lightsymbols/helper.h ('k') | experimental/LightSymbolsUtil/lightsymbols/lightsymbols.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698