summaryrefslogtreecommitdiffstats
path: root/net/test/test_server.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/test/test_server.h')
-rw-r--r--net/test/test_server.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/test/test_server.h b/net/test/test_server.h
index 6d93fc8..c83b284 100644
--- a/net/test/test_server.h
+++ b/net/test/test_server.h
@@ -35,6 +35,8 @@ class AddressList;
// that can provide various responses useful for testing.
class TestServer {
public:
+ typedef std::pair<std::string, std::string> StringPair;
+
enum Type {
TYPE_FTP,
TYPE_HTTP,
@@ -126,7 +128,6 @@ class TestServer {
const std::string& user,
const std::string& password) const;
- typedef std::pair<std::string, std::string> StringPair;
static bool GetFilePathWithReplacements(
const std::string& original_path,
const std::vector<StringPair>& text_to_replace,