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

Unified Diff: net/test/base_test_server.h

Issue 11085039: WebSocket test server migration on browser_tests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: browser_tests done Created 8 years, 2 months 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/base_test_server.h
diff --git a/net/test/base_test_server.h b/net/test/base_test_server.h
index 9f1290ebf17401b04271bc4156361fc4982bc67b..fc66282a30b73b6e5464b772d0974de72e3dfc67 100644
--- a/net/test/base_test_server.h
+++ b/net/test/base_test_server.h
@@ -177,6 +177,12 @@ class BaseTestServer {
const std::string& user,
const std::string& password) const;
+ // Returns a URL which starts with not specified scheme, but http or https.
+ // GetURL() returns URL which starts with corresponding scheme as specified.
+ // TYPE_WS or TYPE_WSS serves HTTP or HTTPS simultaneously, and http:// like
Jay Civelli 2012/10/10 15:39:46 Did you mean respectively instead of simultaneousl
Takashi Toyoshima 2012/10/11 04:53:21 TYPE_WS serves WS and HTTP simultaneously. TYPE_WS
+ // URL is often used for providing JavaScripts that contain actual tests.
Ryan Sleevi 2012/10/10 17:59:57 The comment and name of this method are very confu
Takashi Toyoshima 2012/10/11 05:53:28 Thank you for advice. GURL::Replacements looks use
+ GURL GetAlternateURL(const std::string& path) const;
+
static bool GetFilePathWithReplacements(
const std::string& original_path,
const std::vector<StringPair>& text_to_replace,

Powered by Google App Engine
This is Rietveld 408576698