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

Unified Diff: components/cronet/ios/test/test_server.h

Issue 2513023002: [Cronet] Add CookieStoreIOS. (Closed)
Patch Set: . Created 4 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
« no previous file with comments | « components/cronet/ios/test/cronet_http_test.mm ('k') | components/cronet/ios/test/test_server.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/cronet/ios/test/test_server.h
diff --git a/components/cronet/ios/test/test_server.h b/components/cronet/ios/test/test_server.h
index 7e908702f776a5f90da41c851256d6c723360749..4804f24cbf5b5586f70a9d6e304c8d230d78a633 100644
--- a/components/cronet/ios/test/test_server.h
+++ b/components/cronet/ios/test/test_server.h
@@ -14,7 +14,12 @@ class TestServer {
static bool Start();
static void Shutdown();
+ // Returns URL which respond with echo of header with |header_name| in
+ // response body.
static std::string GetEchoHeaderURL(const std::string& header_name);
+ // Returns URL which respond with setting cookie to |cookie_line| and echo it
+ // in response body.
+ static std::string GetSetCookieURL(const std::string& cookie_line);
};
} // namespace cronet
« no previous file with comments | « components/cronet/ios/test/cronet_http_test.mm ('k') | components/cronet/ios/test/test_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698