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 CHROME_BROWSER_DEVTOOLS_DEVTOOLS_NETWORK_INTERCEPTOR_H_ | 5 #ifndef CHROME_BROWSER_DEVTOOLS_DEVTOOLS_NETWORK_INTERCEPTOR_H_ |
6 #define CHROME_BROWSER_DEVTOOLS_DEVTOOLS_NETWORK_INTERCEPTOR_H_ | 6 #define CHROME_BROWSER_DEVTOOLS_DEVTOOLS_NETWORK_INTERCEPTOR_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include <set> | 10 #include <set> |
9 #include <string> | 11 #include <string> |
10 #include <utility> | 12 #include <utility> |
11 #include <vector> | 13 #include <vector> |
12 | 14 |
13 #include "base/macros.h" | 15 #include "base/macros.h" |
14 #include "base/memory/scoped_ptr.h" | 16 #include "base/memory/scoped_ptr.h" |
15 #include "base/timer/timer.h" | 17 #include "base/timer/timer.h" |
16 | 18 |
17 class DevToolsNetworkConditions; | 19 class DevToolsNetworkConditions; |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 base::TimeDelta latency_length_; | 93 base::TimeDelta latency_length_; |
92 uint64_t download_last_tick_; | 94 uint64_t download_last_tick_; |
93 uint64_t upload_last_tick_; | 95 uint64_t upload_last_tick_; |
94 | 96 |
95 base::WeakPtrFactory<DevToolsNetworkInterceptor> weak_ptr_factory_; | 97 base::WeakPtrFactory<DevToolsNetworkInterceptor> weak_ptr_factory_; |
96 | 98 |
97 DISALLOW_COPY_AND_ASSIGN(DevToolsNetworkInterceptor); | 99 DISALLOW_COPY_AND_ASSIGN(DevToolsNetworkInterceptor); |
98 }; | 100 }; |
99 | 101 |
100 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_NETWORK_INTERCEPTOR_H_ | 102 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_NETWORK_INTERCEPTOR_H_ |
OLD | NEW |