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

Unified Diff: shell/src/GcCommand.h

Issue 9763002: Add command to initiate garbage collection (Closed)
Patch Set: Created March 11, 2013, 11:07 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
« no previous file with comments | « shell/shell.gyp ('k') | shell/src/GcCommand.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: shell/src/GcCommand.h
===================================================================
new file mode 100644
--- /dev/null
+++ b/shell/src/GcCommand.h
@@ -0,0 +1,21 @@
+#ifndef GC_COMMAND_H
+#define GC_COMMAND_H
+
+#include <AdblockPlus.h>
+#include <string>
+
+#include "Command.h"
+
+class GcCommand : public Command
+{
+public:
+ GcCommand(AdblockPlus::JsEngine& jsEngine);
+ void operator()(const std::string& arguments);
+ std::string GetDescription() const;
+ std::string GetUsage() const;
+
+private:
+ AdblockPlus::JsEngine& jsEngine;
+};
+
+#endif
« no previous file with comments | « shell/shell.gyp ('k') | shell/src/GcCommand.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld