summaryrefslogtreecommitdiffstats
path: root/net/http/http_pipelined_host_capability.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/http/http_pipelined_host_capability.h')
-rw-r--r--net/http/http_pipelined_host_capability.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/net/http/http_pipelined_host_capability.h b/net/http/http_pipelined_host_capability.h
new file mode 100644
index 0000000..2c44cd3
--- /dev/null
+++ b/net/http/http_pipelined_host_capability.h
@@ -0,0 +1,24 @@
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef NET_HTTP_HTTP_PIPELINED_HOST_CAPABILITY_H_
+#define NET_HTTP_HTTP_PIPELINED_HOST_CAPABILITY_H_
+#pragma once
+
+namespace net {
+
+// These values are serialized in Preferences. Do not change these values and
+// only add new ones at the end.
+enum HttpPipelinedHostCapability {
+ PIPELINE_UNKNOWN = 0,
+ PIPELINE_INCAPABLE = 1,
+ PIPELINE_CAPABLE = 2,
+ PIPELINE_PROBABLY_CAPABLE = 3, // We are using pipelining, but haven't
+ // processed enough requests to record this
+ // host as known to be capable.
+};
+
+} // namespace net
+
+#endif // NET_HTTP_HTTP_PIPELINED_HOST_CAPABILITY_H_