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

Unified Diff: lib/storage.js

Issue 8492018: abpcrawler: Collect unmatched filters (Closed)
Patch Set: Created Oct. 2, 2012, 5:01 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
« lib/crawler.js ('K') | « lib/crawler.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/storage.js
===================================================================
--- a/lib/storage.js
+++ b/lib/storage.js
@@ -23,8 +23,9 @@
Storage.init = function()
{
- Storage.dataFile = createTemporaryFile("crawler-data");
- [outputStream, converterOutputStream] = openOutputStream(Storage.dataFile);
+ Storage.requestsFile = createTemporaryFile("crawler-requests");
+ [outputStream, converterOutputStream] =
+ openOutputStream(Storage.requestsFile);
};
Storage.write = function(data)
@@ -41,5 +42,5 @@
Storage.destroy = function()
{
- Storage.dataFile.remove(true);
+ Storage.requestsFile.remove(true);
};
« lib/crawler.js ('K') | « lib/crawler.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld