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

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

Issue 2886923002: [extension SW]: Support event listener registration and event dispatching. (Closed)
Patch Set: address comments Created 3 years, 7 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
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 10
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 0x50, 0x70, 0x9d, 0xa2, 0xf9, 0xa4, 0x6f, 0x62, 0x4d, 0xb6, 0xc9, 0x31, 76 0x50, 0x70, 0x9d, 0xa2, 0xf9, 0xa4, 0x6f, 0x62, 0x4d, 0xb6, 0xc9, 0x31,
77 0xfc, 0xf3, 0x08, 0x12, 0xff, 0x93, 0xbd, 0x62, 0x31, 0xd8, 0x1c, 0xea, 77 0xfc, 0xf3, 0x08, 0x12, 0xff, 0x93, 0xbd, 0x62, 0x31, 0xd8, 0x1c, 0xea,
78 0x1a, 0x9e, 0xf5, 0x81, 0x28, 0x7f, 0x75, 0x5e, 0xd2, 0x27, 0x7a, 0xc2, 78 0x1a, 0x9e, 0xf5, 0x81, 0x28, 0x7f, 0x75, 0x5e, 0xd2, 0x27, 0x7a, 0xc2,
79 0x96, 0xf5, 0x9d, 0xdb, 0x18, 0xfc, 0x76, 0xdc, 0x46, 0xf0, 0x57, 0xc0, 79 0x96, 0xf5, 0x9d, 0xdb, 0x18, 0xfc, 0x76, 0xdc, 0x46, 0xf0, 0x57, 0xc0,
80 0x58, 0x34, 0xc8, 0x22, 0x2d, 0x2a, 0x65, 0x75, 0xa7, 0xd9, 0x08, 0x62, 80 0x58, 0x34, 0xc8, 0x22, 0x2d, 0x2a, 0x65, 0x75, 0xa7, 0xd9, 0x08, 0x62,
81 0xcd, 0x02, 0x03, 0x01, 0x00, 0x01}; 81 0xcd, 0x02, 0x03, 0x01, 0x00, 0x01};
82 82
83 const size_t kWebstoreSignaturesPublicKeySize = 83 const size_t kWebstoreSignaturesPublicKeySize =
84 arraysize(kWebstoreSignaturesPublicKey); 84 arraysize(kWebstoreSignaturesPublicKey);
85 85
86 const int kNonWorkerThreadId = 0;
87
86 const char kMimeTypeJpeg[] = "image/jpeg"; 88 const char kMimeTypeJpeg[] = "image/jpeg";
87 const char kMimeTypePng[] = "image/png"; 89 const char kMimeTypePng[] = "image/png";
88 90
89 const int64_t kInvalidServiceWorkerVersionId = -1; 91 const int64_t kInvalidServiceWorkerVersionId = -1;
90 92
91 } // namespace extensions 93 } // namespace extensions
92 94
93 namespace extension_misc { 95 namespace extension_misc {
94 96
95 const char kPdfExtensionId[] = "mhjfbmdgcfjbbpaeojofohoefgiehjai"; 97 const char kPdfExtensionId[] = "mhjfbmdgcfjbbpaeojofohoefgiehjai";
(...skipping 14 matching lines...) Expand all
110 "jfjjdfefebklmdbmenmlehlopoocnoeh", // Packaged App Debug. 112 "jfjjdfefebklmdbmenmlehlopoocnoeh", // Packaged App Debug.
111 "knipolnnllmklapflnccelgolnpehhpl" // Packaged App Prod. 113 "knipolnnllmklapflnccelgolnpehhpl" // Packaged App Prod.
112 // Keep in sync with _api_features.json and _manifest_features.json. 114 // Keep in sync with _api_features.json and _manifest_features.json.
113 }; 115 };
114 116
115 // Error returned when scripting of a page is denied due to enterprise policy. 117 // Error returned when scripting of a page is denied due to enterprise policy.
116 const char kPolicyBlockedScripting[] = 118 const char kPolicyBlockedScripting[] =
117 "This page cannot be scripted due to an ExtensionsSettings policy."; 119 "This page cannot be scripted due to an ExtensionsSettings policy.";
118 120
119 } // namespace extension_misc 121 } // namespace extension_misc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698