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

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

Issue 2768033002: Use size_t in crypto::SignatureVerifier. (Closed)
Patch Set: . Created 3 years, 9 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
« crypto/signature_verifier.cc ('K') | « extensions/common/constants.h ('k') | no next file » | 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 10
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 0xbd, 0x1b, 0x6e, 0xa4, 0x3c, 0x46, 0x62, 0x9f, 0x08, 0x66, 0x93, 0xf9, 73 0xbd, 0x1b, 0x6e, 0xa4, 0x3c, 0x46, 0x62, 0x9f, 0x08, 0x66, 0x93, 0xf9,
74 0x2a, 0x51, 0x31, 0xa8, 0xdb, 0xb5, 0x9d, 0xb9, 0x0f, 0x73, 0xe8, 0xa0, 74 0x2a, 0x51, 0x31, 0xa8, 0xdb, 0xb5, 0x9d, 0xb9, 0x0f, 0x73, 0xe8, 0xa0,
75 0x09, 0x32, 0x01, 0xe9, 0x7b, 0x2a, 0x8a, 0x36, 0xa0, 0xcf, 0x17, 0xb0, 75 0x09, 0x32, 0x01, 0xe9, 0x7b, 0x2a, 0x8a, 0x36, 0xa0, 0xcf, 0x17, 0xb0,
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 int kWebstoreSignaturesPublicKeySize = 83 const size_t kWebstoreSignaturesPublicKeySize =
84 arraysize(kWebstoreSignaturesPublicKey); 84 arraysize(kWebstoreSignaturesPublicKey);
85 85
86 const char kMimeTypeJpeg[] = "image/jpeg"; 86 const char kMimeTypeJpeg[] = "image/jpeg";
87 const char kMimeTypePng[] = "image/png"; 87 const char kMimeTypePng[] = "image/png";
88 88
89 const int64_t kInvalidServiceWorkerVersionId = -1; 89 const int64_t kInvalidServiceWorkerVersionId = -1;
90 90
91 } // namespace extensions 91 } // namespace extensions
92 92
93 namespace extension_misc { 93 namespace extension_misc {
(...skipping 12 matching lines...) Expand all
106 kProdHangoutsExtensionId, 106 kProdHangoutsExtensionId,
107 "ljclpkphhpbpinifbeabbhlfddcpfdde", // Debug. 107 "ljclpkphhpbpinifbeabbhlfddcpfdde", // Debug.
108 "ppleadejekpmccmnpjdimmlfljlkdfej", // Alpha. 108 "ppleadejekpmccmnpjdimmlfljlkdfej", // Alpha.
109 "eggnbpckecmjlblplehfpjjdhhidfdoj", // Beta. 109 "eggnbpckecmjlblplehfpjjdhhidfdoj", // Beta.
110 "jfjjdfefebklmdbmenmlehlopoocnoeh", // Packaged App Debug. 110 "jfjjdfefebklmdbmenmlehlopoocnoeh", // Packaged App Debug.
111 "knipolnnllmklapflnccelgolnpehhpl" // Packaged App Prod. 111 "knipolnnllmklapflnccelgolnpehhpl" // Packaged App Prod.
112 // Keep in sync with _api_features.json and _manifest_features.json. 112 // Keep in sync with _api_features.json and _manifest_features.json.
113 }; 113 };
114 114
115 } // namespace extension_misc 115 } // namespace extension_misc
OLDNEW
« crypto/signature_verifier.cc ('K') | « extensions/common/constants.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698