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

Side by Side Diff: components/cronet/ios/test/test_server.h

Issue 2513023002: [Cronet] Add CookieStoreIOS. (Closed)
Patch Set: Sync 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_CRONET_IOS_TEST_TEST_SERVER_H_ 5 #ifndef COMPONENTS_CRONET_IOS_TEST_TEST_SERVER_H_
6 #define COMPONENTS_CRONET_IOS_TEST_TEST_SERVER_H_ 6 #define COMPONENTS_CRONET_IOS_TEST_TEST_SERVER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 namespace cronet { 10 namespace cronet {
11 11
12 class TestServer { 12 class TestServer {
13 public: 13 public:
14 static bool Start(); 14 static bool Start();
15 static void Shutdown(); 15 static void Shutdown();
16 16
17 static std::string GetEchoHeaderURL(const std::string& header_name); 17 static std::string GetEchoHeaderURL(const std::string& header_name);
18 static std::string GetSetCookieURL(const std::string& cookie_line);
18 }; 19 };
19 20
20 } // namespace cronet 21 } // namespace cronet
21 22
22 #endif // COMPONENTS_CRONET_IOS_TEST_TEST_SERVER_H_ 23 #endif // COMPONENTS_CRONET_IOS_TEST_TEST_SERVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698