OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_NET_CONNECT_INTERCEPTOR_H_ | 5 #ifndef CHROME_BROWSER_NET_CONNECT_INTERCEPTOR_H_ |
6 #define CHROME_BROWSER_NET_CONNECT_INTERCEPTOR_H_ | 6 #define CHROME_BROWSER_NET_CONNECT_INTERCEPTOR_H_ |
7 | 7 |
8 #include "base/gtest_prod_util.h" | 8 #include "base/gtest_prod_util.h" |
| 9 #include "base/macros.h" |
9 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
10 #include "chrome/browser/net/timed_cache.h" | 11 #include "chrome/browser/net/timed_cache.h" |
11 | 12 |
12 class GURL; | 13 class GURL; |
13 | 14 |
14 namespace net { | 15 namespace net { |
15 class URLRequest; | 16 class URLRequest; |
16 } | 17 } |
17 | 18 |
18 namespace chrome_browser_net { | 19 namespace chrome_browser_net { |
(...skipping 20 matching lines...) Expand all Loading... |
39 | 40 |
40 TimedCache timed_cache_; | 41 TimedCache timed_cache_; |
41 Predictor* const predictor_; | 42 Predictor* const predictor_; |
42 | 43 |
43 DISALLOW_COPY_AND_ASSIGN(ConnectInterceptor); | 44 DISALLOW_COPY_AND_ASSIGN(ConnectInterceptor); |
44 }; | 45 }; |
45 | 46 |
46 } // namespace chrome_browser_net | 47 } // namespace chrome_browser_net |
47 | 48 |
48 #endif // CHROME_BROWSER_NET_CONNECT_INTERCEPTOR_H_ | 49 #endif // CHROME_BROWSER_NET_CONNECT_INTERCEPTOR_H_ |
OLD | NEW |