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

Unified Diff: chrome/content/common.js

Issue 10964120: Made Synchronizer tests work again (Closed)
Patch Set: Updated for Synchronizer changes Created July 17, 2013, 12:33 p.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 | « no previous file | chrome/content/index.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/content/common.js
===================================================================
--- a/chrome/content/common.js
+++ b/chrome/content/common.js
@@ -1,13 +1,14 @@
const Cc = Components.classes;
const Ci = Components.interfaces;
const Cr = Components.results;
const Cu = Components.utils;
+Cu.import("resource://gre/modules/XPCOMUtils.jsm");
Cu.import("resource://gre/modules/Services.jsm");
function require(module)
{
let result = {};
result.wrappedJSObject = result;
Services.obs.notifyObservers(result, "adblockplus-require", module);
return result.exports;
@@ -36,16 +37,17 @@ let {Subscription, SpecialSubscription,
ExternalSubscription, DownloadableSubscription} = require("subscriptionClasses");
let {defaultMatcher, Matcher, CombinedMatcher} = require("matcher");
let {FilterListener} = require("filterListener");
let {FilterNotifier} = require("filterNotifier");
let {FilterStorage} = require("filterStorage");
let {ElemHide} = require("elemHide");
let {Prefs} = require("prefs");
let {RequestNotifier} = require("requestNotifier");
+let {Synchronizer} = require("synchronizer");
let {UI} = require("ui");
let {Utils} = require("utils");
let geckoVersion = Services.appinfo.platformVersion;
function compareGeckoVersion(version)
{
return Services.vc.compare(geckoVersion, version);
}
« no previous file with comments | « no previous file | chrome/content/index.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld