Index: net/test/test_server.h |
diff --git a/net/test/test_server.h b/net/test/test_server.h |
index 8affc12b91ca32d138ea4f76327419aa77bee982..c145ed9553d8d95545f840b44e669aa44c6688ca 100644 |
--- a/net/test/test_server.h |
+++ b/net/test/test_server.h |
@@ -117,14 +117,19 @@ class TestServer { |
std::string GetScheme() const; |
bool GetAddressList(AddressList* address_list) const WARN_UNUSED_RESULT; |
- GURL GetURL(const std::string& path); |
+ GURL GetURL(const std::string& path) const; |
GURL GetURLWithUser(const std::string& path, |
- const std::string& user); |
+ const std::string& user) const; |
GURL GetURLWithUserAndPassword(const std::string& path, |
const std::string& user, |
- const std::string& password); |
+ const std::string& password) const; |
+ |
+ static bool GetFilePathWithReplacements( |
+ const std::string& original_path, |
+ const std::vector<std::string>& text_to_replace, |
akalin
2010/11/11 05:20:54
what about taking a vector of pairs of strings?
|
+ std::string* replacement_path); |
private: |
void Init(const FilePath& document_root); |