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

Side by Side Diff: ios/web/public/test/http_server/http_server_util.h

Issue 2898733003: Split up ios/web:test_support. (Closed)
Patch Set: don't break downstream clients Created 3 years, 6 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 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 IOS_WEB_PUBLIC_TEST_HTTP_SERVER_UTIL_H_ 5 #ifndef IOS_WEB_PUBLIC_TEST_HTTP_SERVER_HTTP_SERVER_UTIL_H_
6 #define IOS_WEB_PUBLIC_TEST_HTTP_SERVER_UTIL_H_ 6 #define IOS_WEB_PUBLIC_TEST_HTTP_SERVER_HTTP_SERVER_UTIL_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "url/gurl.h" 10 #include "url/gurl.h"
11 11
12 namespace web { 12 namespace web {
13 13
14 class ResponseProvider; 14 class ResponseProvider;
15 15
16 namespace test { 16 namespace test {
(...skipping 19 matching lines...) Expand all
36 // Sets up a web::test::HttpServer with a single custom provider. 36 // Sets up a web::test::HttpServer with a single custom provider.
37 // Takes ownership of the provider. 37 // Takes ownership of the provider.
38 void SetUpHttpServer(std::unique_ptr<web::ResponseProvider> provider); 38 void SetUpHttpServer(std::unique_ptr<web::ResponseProvider> provider);
39 39
40 // Adds a single custom provider. 40 // Adds a single custom provider.
41 // Takes ownership of the provider. 41 // Takes ownership of the provider.
42 void AddResponseProvider(std::unique_ptr<web::ResponseProvider> provider); 42 void AddResponseProvider(std::unique_ptr<web::ResponseProvider> provider);
43 } // namespace test 43 } // namespace test
44 } // namespace web 44 } // namespace web
45 45
46 #endif // IOS_WEB_PUBLIC_TEST_HTTP_SERVER_UTIL_H_ 46 #endif // IOS_WEB_PUBLIC_TEST_HTTP_SERVER_HTTP_SERVER_UTIL_H_
OLDNEW
« no previous file with comments | « ios/web/public/test/http_server/http_server.mm ('k') | ios/web/public/test/http_server/http_server_util.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698