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

Side by Side Diff: net/http/http_auth_handler_ntlm.h

Issue 1215643003: Remove -Wno-unused-private-field clang warning suppression. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Feedback Created 5 years, 5 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #ifndef NET_HTTP_HTTP_AUTH_HANDLER_NTLM_H_ 5 #ifndef NET_HTTP_HTTP_AUTH_HANDLER_NTLM_H_
6 #define NET_HTTP_HTTP_AUTH_HANDLER_NTLM_H_ 6 #define NET_HTTP_HTTP_AUTH_HANDLER_NTLM_H_
7 7
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 9
10 // This contains the portable and the SSPI implementations for NTLM. 10 // This contains the portable and the SSPI implementations for NTLM.
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 // this are unit tests which pass in a mocked-out version of the SSPI 53 // this are unit tests which pass in a mocked-out version of the SSPI
54 // library. After the call |sspi_library| will be owned by this Factory and 54 // library. After the call |sspi_library| will be owned by this Factory and
55 // will be destroyed when the Factory is destroyed. 55 // will be destroyed when the Factory is destroyed.
56 void set_sspi_library(SSPILibrary* sspi_library) { 56 void set_sspi_library(SSPILibrary* sspi_library) {
57 sspi_library_.reset(sspi_library); 57 sspi_library_.reset(sspi_library);
58 } 58 }
59 #endif // defined(NTLM_SSPI) 59 #endif // defined(NTLM_SSPI)
60 private: 60 private:
61 #if defined(NTLM_SSPI) 61 #if defined(NTLM_SSPI)
62 ULONG max_token_length_; 62 ULONG max_token_length_;
63 bool first_creation_;
64 bool is_unsupported_; 63 bool is_unsupported_;
65 scoped_ptr<SSPILibrary> sspi_library_; 64 scoped_ptr<SSPILibrary> sspi_library_;
66 #endif // defined(NTLM_SSPI) 65 #endif // defined(NTLM_SSPI)
67 }; 66 };
68 67
69 #if defined(NTLM_PORTABLE) 68 #if defined(NTLM_PORTABLE)
70 // A function that generates n random bytes in the output buffer. 69 // A function that generates n random bytes in the output buffer.
71 typedef void (*GenerateRandomProc)(uint8* output, size_t n); 70 typedef void (*GenerateRandomProc)(uint8* output, size_t n);
72 71
73 // A function that returns the local host name. Returns an empty string if 72 // A function that returns the local host name. Returns an empty string if
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 std::string auth_data_; 162 std::string auth_data_;
164 163
165 #if defined(NTLM_SSPI) 164 #if defined(NTLM_SSPI)
166 URLSecurityManager* url_security_manager_; 165 URLSecurityManager* url_security_manager_;
167 #endif 166 #endif
168 }; 167 };
169 168
170 } // namespace net 169 } // namespace net
171 170
172 #endif // NET_HTTP_HTTP_AUTH_HANDLER_NTLM_H_ 171 #endif // NET_HTTP_HTTP_AUTH_HANDLER_NTLM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698