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

Side by Side Diff: lib/child/elemHide.js

Issue 29333334: Issue 3494 - Update buildtools dependency for adblockplus to revision 4d73b9c76e34 (disable E10S co… (Closed)
Patch Set: Created Jan. 8, 2016, 4:51 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « lib/child/contextMenu.js ('k') | lib/utils.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * This file is part of Adblock Plus <https://adblockplus.org/>, 2 * This file is part of Adblock Plus <https://adblockplus.org/>,
3 * Copyright (C) 2006-2015 Eyeo GmbH 3 * Copyright (C) 2006-2015 Eyeo GmbH
4 * 4 *
5 * Adblock Plus is free software: you can redistribute it and/or modify 5 * Adblock Plus is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 3 as 6 * it under the terms of the GNU General Public License version 3 as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
8 * 8 *
9 * Adblock Plus is distributed in the hope that it will be useful, 9 * Adblock Plus is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 classID: Components.ID("{55fb7be0-1dd2-11b2-98e6-9e97caf8ba67}"), 52 classID: Components.ID("{55fb7be0-1dd2-11b2-98e6-9e97caf8ba67}"),
53 classDescription: "Element hiding hit registration protocol handler", 53 classDescription: "Element hiding hit registration protocol handler",
54 aboutPrefix: "abp-elemhidehit", 54 aboutPrefix: "abp-elemhidehit",
55 55
56 /** 56 /**
57 * Registers handler on startup. 57 * Registers handler on startup.
58 */ 58 */
59 init: function() 59 init: function()
60 { 60 {
61 let registrar = Components.manager.QueryInterface(Ci.nsIComponentRegistrar); 61 let registrar = Components.manager.QueryInterface(Ci.nsIComponentRegistrar);
62 let registerFactory = Utils.getPropertyWithoutCompatShims(registrar, "regist erFactory"); 62 registrar.registerFactory(this.classID, this.classDescription,
63 registerFactory.call(registrar, this.classID, this.classDescription,
64 "@mozilla.org/network/protocol/about;1?what=" + this.aboutPrefix, this); 63 "@mozilla.org/network/protocol/about;1?what=" + this.aboutPrefix, this);
65 onShutdown.add(function() 64 onShutdown.add(function()
66 { 65 {
67 registrar.unregisterFactory(this.classID, this); 66 registrar.unregisterFactory(this.classID, this);
68 }.bind(this)); 67 }.bind(this));
69 }, 68 },
70 69
71 // 70 //
72 // Factory implementation 71 // Factory implementation
73 // 72 //
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 { 172 {
174 throw Cr.NS_ERROR_NOT_IMPLEMENTED; 173 throw Cr.NS_ERROR_NOT_IMPLEMENTED;
175 }, 174 },
176 resume: function() 175 resume: function()
177 { 176 {
178 throw Cr.NS_ERROR_NOT_IMPLEMENTED; 177 throw Cr.NS_ERROR_NOT_IMPLEMENTED;
179 }, 178 },
180 179
181 QueryInterface: XPCOMUtils.generateQI([Ci.nsIChannel, Ci.nsIRequest]) 180 QueryInterface: XPCOMUtils.generateQI([Ci.nsIChannel, Ci.nsIRequest])
182 }; 181 };
OLDNEW
« no previous file with comments | « lib/child/contextMenu.js ('k') | lib/utils.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld