Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: include/AdblockPlus/DefaultErrorCallback.h

Issue 10310030: Convert references to FileSystem & Co. into shared pointers (avoid use after free) (Closed)
Patch Set: Created April 18, 2013, 11:59 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: include/AdblockPlus/DefaultErrorCallback.h
===================================================================
new file mode 100644
--- /dev/null
+++ b/include/AdblockPlus/DefaultErrorCallback.h
@@ -0,0 +1,15 @@
+#ifndef ADBLOCKPLUS_DEFAULT_ERROR_CALLBACK_H
+#define ADBLOCKPLUS_DEFAULT_ERROR_CALLBACK_H
+
+#include "ErrorCallback.h"
+
+namespace AdblockPlus
+{
+ class DefaultErrorCallback : public ErrorCallback
+ {
+ public:
+ void operator()(const std::string& message);
+ };
+}
+
+#endif
« no previous file with comments | « include/AdblockPlus.h ('k') | include/AdblockPlus/DefaultWebRequest.h » ('j') | src/JsEngine.cpp » ('J')

Powered by Google App Engine
This is Rietveld