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 NET_HTTP_HTTP_PIPELINED_HOST_CAPABILITY_H_ | 5 #ifndef NET_HTTP_HTTP_PIPELINED_HOST_CAPABILITY_H_ |
6 #define NET_HTTP_HTTP_PIPELINED_HOST_CAPABILITY_H_ | 6 #define NET_HTTP_HTTP_PIPELINED_HOST_CAPABILITY_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 namespace net { | 9 namespace net { |
10 | 10 |
11 // These values are serialized in Preferences. Do not change these values and | 11 // These values are serialized in Preferences. Do not change these values and |
12 // only add new ones at the end. | 12 // only add new ones at the end. |
13 enum HttpPipelinedHostCapability { | 13 enum HttpPipelinedHostCapability { |
14 PIPELINE_UNKNOWN = 0, | 14 PIPELINE_UNKNOWN = 0, |
15 PIPELINE_INCAPABLE = 1, | 15 PIPELINE_INCAPABLE = 1, |
16 PIPELINE_CAPABLE = 2, | 16 PIPELINE_CAPABLE = 2, |
17 PIPELINE_PROBABLY_CAPABLE = 3, // We are using pipelining, but haven't | 17 PIPELINE_PROBABLY_CAPABLE = 3, // We are using pipelining, but haven't |
18 // processed enough requests to record this | 18 // processed enough requests to record this |
19 // host as known to be capable. | 19 // host as known to be capable. |
20 }; | 20 }; |
21 | 21 |
22 } // namespace net | 22 } // namespace net |
23 | 23 |
24 #endif // NET_HTTP_HTTP_PIPELINED_HOST_CAPABILITY_H_ | 24 #endif // NET_HTTP_HTTP_PIPELINED_HOST_CAPABILITY_H_ |
OLD | NEW |