mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-20 00:35:44 +00:00
Bug 1524688: Part 25 - Convert PageThumbsComponents to static registration. r=adw
--HG-- rename : toolkit/components/thumbnails/PageThumbsStorageService.js => toolkit/components/thumbnails/PageThumbsStorageService.jsm extra : source : 18f156d6355adadcce5dbb98ed9a9415e52a9684
This commit is contained in:
parent
6273e7bb62
commit
3690a74cdd
@ -193,7 +193,6 @@
|
||||
@RESPATH@/browser/components/EnterprisePolicies.manifest
|
||||
@RESPATH@/components/Downloads.manifest
|
||||
@RESPATH@/components/DownloadLegacy.js
|
||||
@RESPATH@/components/PageThumbsComponents.manifest
|
||||
@RESPATH@/components/crashmonitor.manifest
|
||||
@RESPATH@/components/nsCrashMonitor.js
|
||||
@RESPATH@/components/toolkitsearch.manifest
|
||||
@ -210,7 +209,6 @@
|
||||
@RESPATH@/components/nsUpdateService.manifest
|
||||
#endif
|
||||
@RESPATH@/components/ProcessSingleton.manifest
|
||||
@RESPATH@/components/PageThumbsStorageService.js
|
||||
@RESPATH@/components/mozProtocolHandler.js
|
||||
@RESPATH@/components/mozProtocolHandler.manifest
|
||||
@RESPATH@/components/nsDefaultCLH.manifest
|
||||
|
@ -1,2 +0,0 @@
|
||||
component {97943eec-0e48-49ef-b7b7-cf4aa0109bb6} PageThumbsStorageService.js
|
||||
contract @mozilla.org/thumbnails/pagethumbs-service;1 {97943eec-0e48-49ef-b7b7-cf4aa0109bb6}
|
@ -57,4 +57,4 @@ PageThumbsStorageService.prototype = {
|
||||
|
||||
};
|
||||
|
||||
this.NSGetFactory = XPCOMUtils.generateNSGetFactory([PageThumbsStorageService]);
|
||||
var EXPORTED_SYMBOLS = ["PageThumbsStorageService"];
|
@ -11,4 +11,11 @@ Classes = [
|
||||
'type': 'PageThumbsProtocol',
|
||||
'headers': ['/toolkit/components/thumbnails/PageThumbsProtocol.h'],
|
||||
},
|
||||
|
||||
{
|
||||
'cid': '{97943eec-0e48-49ef-b7b7-cf4aa0109bb6}',
|
||||
'contract_ids': ['@mozilla.org/thumbnails/pagethumbs-service;1'],
|
||||
'jsm': 'resource://gre/modules/PageThumbsStorageService.jsm',
|
||||
'constructor': 'PageThumbsStorageService',
|
||||
},
|
||||
]
|
||||
|
@ -10,14 +10,10 @@ with Files('**'):
|
||||
BROWSER_CHROME_MANIFESTS += ['test/browser.ini']
|
||||
XPCSHELL_TESTS_MANIFESTS += ['test/xpcshell.ini']
|
||||
|
||||
EXTRA_COMPONENTS += [
|
||||
'PageThumbsComponents.manifest',
|
||||
'PageThumbsStorageService.js',
|
||||
]
|
||||
|
||||
EXTRA_JS_MODULES += [
|
||||
'BackgroundPageThumbs.jsm',
|
||||
'PageThumbs.jsm',
|
||||
'PageThumbsStorageService.jsm',
|
||||
'PageThumbsWorker.js',
|
||||
'PageThumbUtils.jsm',
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user