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 <map> | 10 #include <map> |
10 #include <set> | 11 #include <set> |
11 | 12 |
12 #include "base/callback_forward.h" | 13 #include "base/callback_forward.h" |
13 #include "base/mac/scoped_nsobject.h" | 14 #include "base/mac/scoped_nsobject.h" |
14 #include "base/memory/ref_counted.h" | 15 #include "base/memory/ref_counted.h" |
15 #include "base/memory/scoped_vector.h" | 16 #include "base/memory/scoped_vector.h" |
16 #include "base/memory/weak_ptr.h" | 17 #include "base/memory/weak_ptr.h" |
17 #import "ios/net/request_tracker.h" | 18 #import "ios/net/request_tracker.h" |
18 #import "ios/web/net/crw_request_tracker_delegate.h" | 19 #import "ios/web/net/crw_request_tracker_delegate.h" |
(...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
390 // Flag to synchronize deletion and callback creation. Lives on the IO thread. | 391 // 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 | 392 // 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 | 393 // 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. | 394 // callback), and the expectation is that it will soon be deleted. |
394 bool is_closing_; | 395 bool is_closing_; |
395 }; | 396 }; |
396 | 397 |
397 } // namespace web | 398 } // namespace web |
398 | 399 |
399 #endif // IOS_WEB_NET_REQUEST_TRACKER_IMPL_H_ | 400 #endif // IOS_WEB_NET_REQUEST_TRACKER_IMPL_H_ |
OLD | NEW |