Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(296)

Unified Diff: net/test/test_server.h

Issue 4664009: All SSL UI tests work with ephemeral ports. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix windows compile Created 10 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698