|
1 /* This Source Code Form is subject to the terms of the Mozilla Public |
|
2 * License, v. 2.0. If a copy of the MPL was not distributed with this |
|
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
|
4 |
|
5 #if defined(MOZ_UPDATER) |
|
6 # if !defined(MOZ_WIDGET_ANDROID) |
|
7 # define USE_MOZ_UPDATER |
|
8 # endif |
|
9 #endif |
|
10 |
|
11 #define NS_ALERTSERVICE_CONTRACTID \ |
|
12 "@mozilla.org/alerts-service;1" |
|
13 |
|
14 // This separate service uses the same nsIAlertsService interface, |
|
15 // but instead sends a notification to a platform alerts API |
|
16 // if available. Using a separate CID allows us to overwrite the XUL |
|
17 // alerts service at runtime. |
|
18 #define NS_SYSTEMALERTSERVICE_CONTRACTID \ |
|
19 "@mozilla.org/system-alerts-service;1" |
|
20 |
|
21 #define NS_AUTOCOMPLETECONTROLLER_CONTRACTID \ |
|
22 "@mozilla.org/autocomplete/controller;1" |
|
23 |
|
24 #define NS_AUTOCOMPLETESIMPLERESULT_CONTRACTID \ |
|
25 "@mozilla.org/autocomplete/simple-result;1" |
|
26 |
|
27 #define NS_AUTOCOMPLETEMDBRESULT_CONTRACTID \ |
|
28 "@mozilla.org/autocomplete/mdb-result;1" |
|
29 |
|
30 #define NS_DOWNLOADMANAGER_CONTRACTID \ |
|
31 "@mozilla.org/download-manager;1" |
|
32 |
|
33 #define NS_DOWNLOADPLATFORM_CONTRACTID \ |
|
34 "@mozilla.org/toolkit/download-platform;1" |
|
35 |
|
36 #define NS_FORMHISTORY_CONTRACTID \ |
|
37 "@mozilla.org/satchel/form-history;1" |
|
38 |
|
39 #define NS_FORMFILLCONTROLLER_CONTRACTID \ |
|
40 "@mozilla.org/satchel/form-fill-controller;1" |
|
41 |
|
42 #define NS_FORMHISTORYAUTOCOMPLETE_CONTRACTID \ |
|
43 "@mozilla.org/autocomplete/search;1?name=form-history" |
|
44 |
|
45 #define NS_GLOBALHISTORY_DATASOURCE_CONTRACTID \ |
|
46 "@mozilla.org/rdf/datasource;1?name=history" |
|
47 |
|
48 #define NS_GLOBALHISTORY_AUTOCOMPLETE_CONTRACTID \ |
|
49 "@mozilla.org/autocomplete/search;1?name=history" |
|
50 |
|
51 #define NS_TYPEAHEADFIND_CONTRACTID \ |
|
52 "@mozilla.org/typeaheadfind;1" |
|
53 |
|
54 #define NS_PARENTALCONTROLSSERVICE_CONTRACTID \ |
|
55 "@mozilla.org/parental-controls-service;1" |
|
56 |
|
57 #define NS_URLCLASSIFIERPREFIXSET_CONTRACTID \ |
|
58 "@mozilla.org/url-classifier/prefixset;1" |
|
59 |
|
60 #define NS_URLCLASSIFIERDBSERVICE_CONTRACTID \ |
|
61 "@mozilla.org/url-classifier/dbservice;1" |
|
62 |
|
63 #define NS_URLCLASSIFIERSTREAMUPDATER_CONTRACTID \ |
|
64 "@mozilla.org/url-classifier/streamupdater;1" |
|
65 |
|
66 #define NS_URLCLASSIFIERUTILS_CONTRACTID \ |
|
67 "@mozilla.org/url-classifier/utils;1" |
|
68 |
|
69 #define NS_URLCLASSIFIERHASHCOMPLETER_CONTRACTID \ |
|
70 "@mozilla.org/url-classifier/hashcompleter;1" |
|
71 |
|
72 #define NS_NAVHISTORYSERVICE_CONTRACTID \ |
|
73 "@mozilla.org/browser/nav-history-service;1" |
|
74 |
|
75 #define NS_ANNOTATIONSERVICE_CONTRACTID \ |
|
76 "@mozilla.org/browser/annotation-service;1" |
|
77 |
|
78 #define NS_NAVBOOKMARKSSERVICE_CONTRACTID \ |
|
79 "@mozilla.org/browser/nav-bookmarks-service;1" |
|
80 |
|
81 #define NS_LIVEMARKSERVICE_CONTRACTID \ |
|
82 "@mozilla.org/browser/livemark-service;2" |
|
83 |
|
84 #define NS_TAGGINGSERVICE_CONTRACTID \ |
|
85 "@mozilla.org/browser/tagging-service;1" |
|
86 |
|
87 #define NS_FAVICONSERVICE_CONTRACTID \ |
|
88 "@mozilla.org/browser/favicon-service;1" |
|
89 |
|
90 #define NS_APPSTARTUP_CONTRACTID \ |
|
91 "@mozilla.org/toolkit/app-startup;1" |
|
92 |
|
93 #if defined(USE_MOZ_UPDATER) |
|
94 #define NS_UPDATEPROCESSOR_CONTRACTID \ |
|
95 "@mozilla.org/updates/update-processor;1" |
|
96 #endif |
|
97 |
|
98 ///////////////////////////////////////////////////////////////////////////// |
|
99 |
|
100 // {A0CCAAF8-09DA-44D8-B250-9AC3E93C8117} |
|
101 #define NS_ALERTSSERVICE_CID \ |
|
102 { 0xa0ccaaf8, 0x9da, 0x44d8, { 0xb2, 0x50, 0x9a, 0xc3, 0xe9, 0x3c, 0x81, 0x17 } } |
|
103 |
|
104 // {84E11F80-CA55-11DD-AD8B-0800200C9A66} |
|
105 #define NS_SYSTEMALERTSSERVICE_CID \ |
|
106 { 0x84e11f80, 0xca55, 0x11dd, { 0xad, 0x8b, 0x08, 0x00, 0x20, 0x0c, 0x9a, 0x66 } } |
|
107 |
|
108 // {F6D5EBBD-34F4-487d-9D10-3D34123E3EB9} |
|
109 #define NS_AUTOCOMPLETECONTROLLER_CID \ |
|
110 { 0xf6d5ebbd, 0x34f4, 0x487d, { 0x9d, 0x10, 0x3d, 0x34, 0x12, 0x3e, 0x3e, 0xb9 } } |
|
111 |
|
112 // {2ee3039b-2de4-43d9-93b0-649beacff39a} |
|
113 #define NS_AUTOCOMPLETESIMPLERESULT_CID \ |
|
114 { 0x2ee3039b, 0x2de4, 0x43d9, { 0x93, 0xb0, 0x64, 0x9b, 0xea, 0xcf, 0xf3, 0x9a } } |
|
115 |
|
116 // {7A6F70B6-2BBD-44b5-9304-501352D44AB5} |
|
117 #define NS_AUTOCOMPLETEMDBRESULT_CID \ |
|
118 { 0x7a6f70b6, 0x2bbd, 0x44b5, { 0x93, 0x4, 0x50, 0x13, 0x52, 0xd4, 0x4a, 0xb5 } } |
|
119 |
|
120 #define NS_DOWNLOADMANAGER_CID \ |
|
121 { 0xedb0490e, 0x1dd1, 0x11b2, { 0x83, 0xb8, 0xdb, 0xf8, 0xd8, 0x59, 0x06, 0xa6 } } |
|
122 |
|
123 #define NS_DOWNLOADPLATFORM_CID \ |
|
124 { 0x649a14c9, 0xfe5c, 0x48ec, { 0x9c, 0x85, 0x00, 0xca, 0xd9, 0xcc, 0xf3, 0x2e } } |
|
125 |
|
126 // {895DB6C7-DBDF-40ea-9F64-B175033243DC} |
|
127 #define NS_FORMFILLCONTROLLER_CID \ |
|
128 { 0x895db6c7, 0xdbdf, 0x40ea, { 0x9f, 0x64, 0xb1, 0x75, 0x3, 0x32, 0x43, 0xdc } } |
|
129 |
|
130 // {59648a91-5a60-4122-8ff2-54b839c84aed} |
|
131 #define NS_GLOBALHISTORY_CID \ |
|
132 { 0x59648a91, 0x5a60, 0x4122, { 0x8f, 0xf2, 0x54, 0xb8, 0x39, 0xc8, 0x4a, 0xed} } |
|
133 |
|
134 // {59648a91-5a60-4122-8ff2-54b839c84aed} |
|
135 #define NS_PARENTALCONTROLSSERVICE_CID \ |
|
136 { 0x580530e5, 0x118c, 0x4bc7, { 0xab, 0x88, 0xbc, 0x2c, 0xd2, 0xb9, 0x72, 0x23 } } |
|
137 |
|
138 // {e7f70966-9a37-48d7-8aeb-35998f31090e} |
|
139 #define NS_TYPEAHEADFIND_CID \ |
|
140 { 0xe7f70966, 0x9a37, 0x48d7, { 0x8a, 0xeb, 0x35, 0x99, 0x8f, 0x31, 0x09, 0x0e} } |
|
141 |
|
142 // {3d8579f0-75fa-4e00-ba41-38661d5b5d17} |
|
143 #define NS_URLCLASSIFIERPREFIXSET_CID \ |
|
144 { 0x3d8579f0, 0x75fa, 0x4e00, { 0xba, 0x41, 0x38, 0x66, 0x1d, 0x5b, 0x5d, 0x17} } |
|
145 |
|
146 // {8a389f21-f821-4e29-9c6b-3de6f33cd7cf} |
|
147 #define NS_URLCLASSIFIERDBSERVICE_CID \ |
|
148 { 0x8a389f21, 0xf821, 0x4e29, { 0x9c, 0x6b, 0x3d, 0xe6, 0xf3, 0x3c, 0xd7, 0xcf} } |
|
149 |
|
150 // {79e6b710-ce68-4639-ac6b-7d293af424a1} |
|
151 #define NS_URLCLASSIFIERSTREAMUPDATER_CID \ |
|
152 { 0x79e6b710, 0xce68, 0x4639, { 0xac, 0x6b, 0x7d, 0x29, 0x3a, 0xf4, 0x24, 0xa1} } |
|
153 |
|
154 // {b7b2ccec-7912-4ea6-a548-b038447004bd} |
|
155 #define NS_URLCLASSIFIERUTILS_CID \ |
|
156 { 0xb7b2ccec, 0x7912, 0x4ea6, { 0xa5, 0x48, 0xb0, 0x38, 0x44, 0x70, 0x04, 0xbd} } |
|
157 |
|
158 #define NS_NAVHISTORYSERVICE_CID \ |
|
159 { 0x88cecbb7, 0x6c63, 0x4b3b, { 0x8c, 0xd4, 0x84, 0xf3, 0xb8, 0x22, 0x8c, 0x69 } } |
|
160 |
|
161 #define NS_NAVHISTORYRESULTTREEVIEWER_CID \ |
|
162 { 0x2ea8966f, 0x0671, 0x4c02, { 0x9c, 0x70, 0x94, 0x59, 0x56, 0xd4, 0x54, 0x34 } } |
|
163 |
|
164 #define NS_ANNOTATIONSERVICE_CID \ |
|
165 { 0x5e8d4751, 0x1852, 0x434b, { 0xa9, 0x92, 0x2c, 0x6d, 0x2a, 0x25, 0xfa, 0x46 } } |
|
166 |
|
167 #define NS_NAVBOOKMARKSSERVICE_CID \ |
|
168 { 0x9de95a0c, 0x39a4, 0x4d64, {0x9a, 0x53, 0x17, 0x94, 0x0d, 0xd7, 0xca, 0xbb}} |
|
169 |
|
170 #define NS_FAVICONSERVICE_CID \ |
|
171 { 0x984e3259, 0x9266, 0x49cf, { 0xb6, 0x05, 0x60, 0xb0, 0x22, 0xa0, 0x07, 0x56 } } |
|
172 |
|
173 #if defined(USE_MOZ_UPDATER) |
|
174 #define NS_UPDATEPROCESSOR_CID \ |
|
175 { 0xf3dcf644, 0x79e8, 0x4f59, { 0xa1, 0xbb, 0x87, 0x84, 0x54, 0x48, 0x8e, 0xf9 } } |
|
176 #endif |
|
177 |
|
178 #define NS_APPLICATION_REPUTATION_SERVICE_CONTRACTID \ |
|
179 "@mozilla.org/downloads/application-reputation-service;1" |
|
180 |
|
181 #define NS_APPLICATION_REPUTATION_SERVICE_CID \ |
|
182 { 0x8576c950, 0xf4a2, 0x11e2, { 0xb7, 0x78, 0x08, 0x00, 0x20, 0x0c, 0x9a, 0x66 } } |