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

Unified Diff: net/http/http_auth_gssapi_posix.cc

Issue 11263039: Apply a few missing const qualifiers in net/ (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/base/mime_util.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_auth_gssapi_posix.cc
diff --git a/net/http/http_auth_gssapi_posix.cc b/net/http/http_auth_gssapi_posix.cc
index 7121406106fe4e460bb5f7c663d52e0944fc21cb..f79d1c885ea728a2f78cfb6fa3caf46707ac1f71 100644
--- a/net/http/http_auth_gssapi_posix.cc
+++ b/net/http/http_auth_gssapi_posix.cc
@@ -419,7 +419,7 @@ bool GSSAPISharedLibrary::InitImpl() {
}
base::NativeLibrary GSSAPISharedLibrary::LoadSharedLibrary() {
- const char** library_names;
+ const char* const* library_names;
size_t num_lib_names;
const char* user_specified_library[1];
if (!gssapi_library_name_.empty()) {
@@ -427,7 +427,7 @@ base::NativeLibrary GSSAPISharedLibrary::LoadSharedLibrary() {
library_names = user_specified_library;
num_lib_names = 1;
} else {
- static const char* kDefaultLibraryNames[] = {
+ static const char* const kDefaultLibraryNames[] = {
#if defined(OS_MACOSX)
"libgssapi_krb5.dylib" // MIT Kerberos
#elif defined(OS_OPENBSD)
« no previous file with comments | « net/base/mime_util.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698