Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(184)

Side by Side Diff: extensions/common/constants.cc

Issue 2166523003: Add ref count to service workers for extension API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sync@tott Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « extensions/common/constants.h ('k') | extensions/common/extension_messages.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "extensions/common/constants.h" 5 #include "extensions/common/constants.h"
6 6
7 namespace extensions { 7 namespace extensions {
8 8
9 const char kExtensionScheme[] = "chrome-extension"; 9 const char kExtensionScheme[] = "chrome-extension";
10 const char kExtensionResourceScheme[] = "chrome-extension-resource"; 10 const char kExtensionResourceScheme[] = "chrome-extension-resource";
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 0x96, 0xf5, 0x9d, 0xdb, 0x18, 0xfc, 0x76, 0xdc, 0x46, 0xf0, 0x57, 0xc0, 80 0x96, 0xf5, 0x9d, 0xdb, 0x18, 0xfc, 0x76, 0xdc, 0x46, 0xf0, 0x57, 0xc0,
81 0x58, 0x34, 0xc8, 0x22, 0x2d, 0x2a, 0x65, 0x75, 0xa7, 0xd9, 0x08, 0x62, 81 0x58, 0x34, 0xc8, 0x22, 0x2d, 0x2a, 0x65, 0x75, 0xa7, 0xd9, 0x08, 0x62,
82 0xcd, 0x02, 0x03, 0x01, 0x00, 0x01}; 82 0xcd, 0x02, 0x03, 0x01, 0x00, 0x01};
83 83
84 const int kWebstoreSignaturesPublicKeySize = 84 const int kWebstoreSignaturesPublicKeySize =
85 arraysize(kWebstoreSignaturesPublicKey); 85 arraysize(kWebstoreSignaturesPublicKey);
86 86
87 const char kMimeTypeJpeg[] = "image/jpeg"; 87 const char kMimeTypeJpeg[] = "image/jpeg";
88 const char kMimeTypePng[] = "image/png"; 88 const char kMimeTypePng[] = "image/png";
89 89
90 const int64_t kInvalidServiceWorkerVersionId = -1;
91
90 } // namespace extensions 92 } // namespace extensions
91 93
92 namespace extension_misc { 94 namespace extension_misc {
93 95
94 const char kPdfExtensionId[] = "mhjfbmdgcfjbbpaeojofohoefgiehjai"; 96 const char kPdfExtensionId[] = "mhjfbmdgcfjbbpaeojofohoefgiehjai";
95 const char kQuickOfficeComponentExtensionId[] = 97 const char kQuickOfficeComponentExtensionId[] =
96 "bpmcpldpdmajfigpchkicefoigmkfalc"; 98 "bpmcpldpdmajfigpchkicefoigmkfalc";
97 const char kQuickOfficeInternalExtensionId[] = 99 const char kQuickOfficeInternalExtensionId[] =
98 "ehibbfinohgbchlgdbfpikodjaojhccn"; 100 "ehibbfinohgbchlgdbfpikodjaojhccn";
99 const char kQuickOfficeExtensionId[] = "gbkeegbaiigmenfmjfclcdgdpimamgkj"; 101 const char kQuickOfficeExtensionId[] = "gbkeegbaiigmenfmjfclcdgdpimamgkj";
100 const char kMimeHandlerPrivateTestExtensionId[] = 102 const char kMimeHandlerPrivateTestExtensionId[] =
101 "oickdpebdnfbgkcaoklfcdhjniefkcji"; 103 "oickdpebdnfbgkcaoklfcdhjniefkcji";
102 104
103 const char kProdHangoutsExtensionId[] = "nckgahadagoaajjgafhacjanaoiihapd"; 105 const char kProdHangoutsExtensionId[] = "nckgahadagoaajjgafhacjanaoiihapd";
104 const char* const kHangoutsExtensionIds[6] = { 106 const char* const kHangoutsExtensionIds[6] = {
105 kProdHangoutsExtensionId, 107 kProdHangoutsExtensionId,
106 "ljclpkphhpbpinifbeabbhlfddcpfdde", // Debug. 108 "ljclpkphhpbpinifbeabbhlfddcpfdde", // Debug.
107 "ppleadejekpmccmnpjdimmlfljlkdfej", // Alpha. 109 "ppleadejekpmccmnpjdimmlfljlkdfej", // Alpha.
108 "eggnbpckecmjlblplehfpjjdhhidfdoj", // Beta. 110 "eggnbpckecmjlblplehfpjjdhhidfdoj", // Beta.
109 "jfjjdfefebklmdbmenmlehlopoocnoeh", // Packaged App Debug. 111 "jfjjdfefebklmdbmenmlehlopoocnoeh", // Packaged App Debug.
110 "knipolnnllmklapflnccelgolnpehhpl" // Packaged App Prod. 112 "knipolnnllmklapflnccelgolnpehhpl" // Packaged App Prod.
111 // Keep in sync with _api_features.json and _manifest_features.json. 113 // Keep in sync with _api_features.json and _manifest_features.json.
112 }; 114 };
113 115
114 } // namespace extension_misc 116 } // namespace extension_misc
OLDNEW
« no previous file with comments | « extensions/common/constants.h ('k') | extensions/common/extension_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698