OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_H_ | 5 #ifndef NET_HTTP_HTTP_AUTH_HANDLER_H_ |
6 #define NET_HTTP_HTTP_AUTH_HANDLER_H_ | 6 #define NET_HTTP_HTTP_AUTH_HANDLER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
| 10 #include "base/time.h" |
10 #include "net/base/completion_callback.h" | 11 #include "net/base/completion_callback.h" |
11 #include "net/base/net_log.h" | 12 #include "net/base/net_log.h" |
12 #include "net/http/http_auth.h" | 13 #include "net/http/http_auth.h" |
13 | 14 |
14 class Histogram; | 15 class Histogram; |
15 | 16 |
16 namespace net { | 17 namespace net { |
17 | 18 |
18 class HostResolver; | 19 class HostResolver; |
19 class ProxyInfo; | 20 class ProxyInfo; |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
174 CompletionCallback* original_callback_; | 175 CompletionCallback* original_callback_; |
175 CompletionCallbackImpl<HttpAuthHandler> wrapper_callback_; | 176 CompletionCallbackImpl<HttpAuthHandler> wrapper_callback_; |
176 // When GenerateAuthToken was called. | 177 // When GenerateAuthToken was called. |
177 base::TimeTicks generate_auth_token_start_; | 178 base::TimeTicks generate_auth_token_start_; |
178 scoped_refptr<Histogram> histogram_; | 179 scoped_refptr<Histogram> histogram_; |
179 }; | 180 }; |
180 | 181 |
181 } // namespace net | 182 } // namespace net |
182 | 183 |
183 #endif // NET_HTTP_HTTP_AUTH_HANDLER_H_ | 184 #endif // NET_HTTP_HTTP_AUTH_HANDLER_H_ |
OLD | NEW |