| 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 #import "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; |
| (...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 382 // Flag to synchronize deletion and callback creation. Lives on the IO thread. | 382 // Flag to synchronize deletion and callback creation. Lives on the IO thread. |
| 383 // True when this tracker has beed Close()d. If this is the case, no further | 383 // True when this tracker has beed Close()d. If this is the case, no further |
| 384 // references to it should be generated (for example by binding it into a | 384 // references to it should be generated (for example by binding it into a |
| 385 // callback), and the expectation is that it will soon be deleted. | 385 // callback), and the expectation is that it will soon be deleted. |
| 386 bool is_closing_; | 386 bool is_closing_; |
| 387 }; | 387 }; |
| 388 | 388 |
| 389 } // namespace web | 389 } // namespace web |
| 390 | 390 |
| 391 #endif // IOS_WEB_NET_REQUEST_TRACKER_IMPL_H_ | 391 #endif // IOS_WEB_NET_REQUEST_TRACKER_IMPL_H_ |
| OLD | NEW |