| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 IOS_WEB_NET_REQUEST_TRACKER_IMPL_H_ | 5 #ifndef IOS_WEB_NET_REQUEST_TRACKER_IMPL_H_ |
| 6 #define IOS_WEB_NET_REQUEST_TRACKER_IMPL_H_ | 6 #define IOS_WEB_NET_REQUEST_TRACKER_IMPL_H_ |
| 7 | 7 |
| 8 #import <Foundation/Foundation.h> | 8 #import <Foundation/Foundation.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 #include <map> | 10 #include <map> |
| 11 #include <set> | 11 #include <set> |
| 12 | 12 |
| 13 #include "base/callback_forward.h" | 13 #include "base/callback_forward.h" |
| 14 #include "base/mac/scoped_nsobject.h" | 14 #include "base/mac/scoped_nsobject.h" |
| 15 #include "base/memory/ref_counted.h" | 15 #include "base/memory/ref_counted.h" |
| 16 #include "base/memory/scoped_vector.h" | 16 #include "base/memory/scoped_vector.h" |
| 17 #include "base/memory/weak_ptr.h" | 17 #include "base/memory/weak_ptr.h" |
| 18 #import "ios/net/request_tracker.h" | 18 #import "ios/net/request_tracker.h" |
| 19 #import "ios/web/net/crw_request_tracker_delegate.h" | 19 #import "ios/web/net/crw_request_tracker_delegate.h" |
| 20 #include "ios/web/public/web_thread.h" | 20 #include "ios/web/public/web_thread.h" |
| 21 #include "net/url_request/url_request_context_getter.h" | 21 #include "net/url_request/url_request_context_getter.h" |
| 22 #include "url/gurl.h" | 22 #include "url/gurl.h" |
| 23 | 23 |
| 24 @class SSLCarrier; | 24 @class SSLCarrier; |
| 25 @class CRWSSLCarrier; | 25 @class CRWSSLCarrier; |
| 26 struct TrackerCounts; | 26 struct TrackerCounts; |
| 27 | 27 |
| 28 namespace content { | |
| 29 struct SSLStatus; | |
| 30 } | |
| 31 | |
| 32 namespace net { | 28 namespace net { |
| 33 class HttpResponseHeaders; | 29 class HttpResponseHeaders; |
| 34 class URLRequest; | 30 class URLRequest; |
| 35 class URLRequestContext; | 31 class URLRequestContext; |
| 36 class SSLInfo; | 32 class SSLInfo; |
| 37 class X509Certificate; | 33 class X509Certificate; |
| 38 } | 34 } |
| 39 | 35 |
| 40 namespace web { | 36 namespace web { |
| 41 | 37 |
| (...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 390 // Flag to synchronize deletion and callback creation. Lives on the IO thread. | 386 // Flag to synchronize deletion and callback creation. Lives on the IO thread. |
| 391 // True when this tracker has beed Close()d. If this is the case, no further | 387 // True when this tracker has beed Close()d. If this is the case, no further |
| 392 // references to it should be generated (for example by binding it into a | 388 // references to it should be generated (for example by binding it into a |
| 393 // callback), and the expectation is that it will soon be deleted. | 389 // callback), and the expectation is that it will soon be deleted. |
| 394 bool is_closing_; | 390 bool is_closing_; |
| 395 }; | 391 }; |
| 396 | 392 |
| 397 } // namespace web | 393 } // namespace web |
| 398 | 394 |
| 399 #endif // IOS_WEB_NET_REQUEST_TRACKER_IMPL_H_ | 395 #endif // IOS_WEB_NET_REQUEST_TRACKER_IMPL_H_ |
| OLD | NEW |