summaryrefslogtreecommitdiff
path: root/chromium/net/tools/flip_server/spdy_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/net/tools/flip_server/spdy_util.h')
-rw-r--r--chromium/net/tools/flip_server/spdy_util.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/chromium/net/tools/flip_server/spdy_util.h b/chromium/net/tools/flip_server/spdy_util.h
new file mode 100644
index 00000000000..537053d50bc
--- /dev/null
+++ b/chromium/net/tools/flip_server/spdy_util.h
@@ -0,0 +1,21 @@
+// Copyright (c) 2009 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_TOOLS_FLIP_SERVER_SPDY_UTIL_H_
+#define NET_TOOLS_FLIP_SERVER_SPDY_UTIL_H_
+
+#include <string>
+
+namespace net {
+
+// Flag indicating if we need to encode urls into filenames (legacy).
+extern bool g_need_to_encode_url;
+
+// Encode the URL.
+std::string EncodeURL(std::string uri, std::string host, std::string method);
+
+} // namespace net
+
+#endif // NET_TOOLS_FLIP_SERVER_SPDY_UTIL_H_
+