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

Unified Diff: net/cert/x509_cert_types_win.cc

Issue 696033002: Cleanup: Better constify some strings in net/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: static Created 5 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: net/cert/x509_cert_types_win.cc
diff --git a/net/cert/x509_cert_types_win.cc b/net/cert/x509_cert_types_win.cc
index 8a456f3b0d0a47af3393ad3d40808f268d8c36e4..f5f426dde7af396ec9361f5ecade92a1894963bd 100644
--- a/net/cert/x509_cert_types_win.cc
+++ b/net/cert/x509_cert_types_win.cc
@@ -21,7 +21,7 @@ namespace {
// A list of OIDs to decode. Any OID not on this list will be ignored for
// purposes of parsing.
-const char* kOIDs[] = {
+const char* const kOIDs[] = {
szOID_COMMON_NAME,
szOID_LOCALITY_NAME,
szOID_STATE_OR_PROVINCE_NAME,
« no previous file with comments | « net/base/registry_controlled_domains/registry_controlled_domain_unittest.cc ('k') | net/cookies/cookie_constants_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698