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

Unified Diff: ios/web/public/test/response_providers/string_response_provider.mm

Issue 2898733003: Split up ios/web:test_support. (Closed)
Patch Set: don't break downstream clients Created 3 years, 7 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
« no previous file with comments | « ios/web/public/test/response_providers/string_response_provider.h ('k') | ios/web/shell/test/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/public/test/response_providers/string_response_provider.mm
diff --git a/ios/web/public/test/response_providers/string_response_provider.mm b/ios/web/public/test/response_providers/string_response_provider.mm
deleted file mode 100644
index 41834a412d741ebb09f6910681293159dfe6c665..0000000000000000000000000000000000000000
--- a/ios/web/public/test/response_providers/string_response_provider.mm
+++ /dev/null
@@ -1,24 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#import "ios/web/public/test/response_providers/string_response_provider.h"
-
-namespace web {
-
-StringResponseProvider::StringResponseProvider(const std::string& response_body)
- : response_body_(response_body) {}
-
-bool StringResponseProvider::CanHandleRequest(const Request& request) {
- return true;
-}
-
-void StringResponseProvider::GetResponseHeadersAndBody(
- const Request& request,
- scoped_refptr<net::HttpResponseHeaders>* headers,
- std::string* response_body) {
- *headers = GetDefaultResponseHeaders();
- *response_body = response_body_;
-}
-
-} // namespace web
« no previous file with comments | « ios/web/public/test/response_providers/string_response_provider.h ('k') | ios/web/shell/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698