summaryrefslogtreecommitdiffstats
path: root/net/tools/flip_server/spdy_util.h
diff options
context:
space:
mode:
authormbelshe@chromium.org <mbelshe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-02 20:03:02 +0000
committermbelshe@chromium.org <mbelshe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-02 20:03:02 +0000
commit878984e6a994d308543f3ce93b2d5a511c81ba00 (patch)
tree755e2c50ee764ad05e5600f97bad1bd7ef972f78 /net/tools/flip_server/spdy_util.h
parentb3c57fe514e2b3cf10278004abe1d4b189cdb7f9 (diff)
downloadchromium_src-878984e6a994d308543f3ce93b2d5a511c81ba00.zip
chromium_src-878984e6a994d308543f3ce93b2d5a511c81ba00.tar.gz
chromium_src-878984e6a994d308543f3ce93b2d5a511c81ba00.tar.bz2
Split flip_in_mem_edsm_server into a gazillion pieces.
For the most part, this is a straight refactor. I'm sure I broke something. BUG=monolithic code TEST=none Review URL: http://codereview.chromium.org/6392011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73491 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/tools/flip_server/spdy_util.h')
-rw-r--r--net/tools/flip_server/spdy_util.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/net/tools/flip_server/spdy_util.h b/net/tools/flip_server/spdy_util.h
new file mode 100644
index 0000000..537053d
--- /dev/null
+++ b/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_
+