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

Unified Diff: shell/src/Main.cpp

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/src/GcCommand.cpp ('k') | src/JsEngine.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: shell/src/Main.cpp
===================================================================
--- a/shell/src/Main.cpp
+++ b/shell/src/Main.cpp
@@ -3,6 +3,7 @@
#include <iostream>
#include <sstream>
+#include "GcCommand.h"
#include "HelpCommand.h"
#include "SubscriptionsCommand.h"
#include "MatchesCommand.h"
@@ -63,6 +64,7 @@
jsEngine.Load("adblockplus.js");
CommandMap commands;
+ Add(commands, new GcCommand(jsEngine));
Add(commands, new HelpCommand(commands));
Add(commands, new SubscriptionsCommand(jsEngine));
Add(commands, new MatchesCommand());
« no previous file with comments | « shell/src/GcCommand.cpp ('k') | src/JsEngine.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld