OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_POLICY_CLOUD_TEST_REQUEST_INTERCEPTOR_H_ | 5 #ifndef CHROME_BROWSER_POLICY_CLOUD_TEST_REQUEST_INTERCEPTOR_H_ |
6 #define CHROME_BROWSER_POLICY_CLOUD_TEST_REQUEST_INTERCEPTOR_H_ | 6 #define CHROME_BROWSER_POLICY_CLOUD_TEST_REQUEST_INTERCEPTOR_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include <string> | 10 #include <string> |
9 | 11 |
10 #include "base/basictypes.h" | |
11 #include "base/callback.h" | 12 #include "base/callback.h" |
| 13 #include "base/macros.h" |
12 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
13 #include "policy/proto/device_management_backend.pb.h" | 15 #include "policy/proto/device_management_backend.pb.h" |
14 | 16 |
15 namespace base { | 17 namespace base { |
16 class FilePath; | 18 class FilePath; |
17 class SequencedTaskRunner; | 19 class SequencedTaskRunner; |
18 } | 20 } |
19 | 21 |
20 namespace net { | 22 namespace net { |
21 class NetworkDelegate; | 23 class NetworkDelegate; |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 // Owned by URLRequestFilter. This handle is valid on IO and only while the | 86 // Owned by URLRequestFilter. This handle is valid on IO and only while the |
85 // interceptor is valid. | 87 // interceptor is valid. |
86 Delegate* delegate_; | 88 Delegate* delegate_; |
87 | 89 |
88 DISALLOW_COPY_AND_ASSIGN(TestRequestInterceptor); | 90 DISALLOW_COPY_AND_ASSIGN(TestRequestInterceptor); |
89 }; | 91 }; |
90 | 92 |
91 } // namespace policy | 93 } // namespace policy |
92 | 94 |
93 #endif // CHROME_BROWSER_POLICY_CLOUD_TEST_REQUEST_INTERCEPTOR_H_ | 95 #endif // CHROME_BROWSER_POLICY_CLOUD_TEST_REQUEST_INTERCEPTOR_H_ |
OLD | NEW |