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

Unified Diff: net/proxy/mojo_proxy_resolver_impl_unittest.cc

Issue 2416483002: Use std::string instead of mojo::String in //net. (Closed)
Patch Set: Created 4 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/proxy/mojo_proxy_resolver_impl_unittest.cc
diff --git a/net/proxy/mojo_proxy_resolver_impl_unittest.cc b/net/proxy/mojo_proxy_resolver_impl_unittest.cc
index 15002b54e6944d7b11db23c63ca133d07526f116..61927f08602201e977cdf1e7df3459de30f450aa 100644
--- a/net/proxy/mojo_proxy_resolver_impl_unittest.cc
+++ b/net/proxy/mojo_proxy_resolver_impl_unittest.cc
@@ -45,8 +45,8 @@ class TestRequestClient : public interfaces::ProxyResolverRequestClient {
private:
// interfaces::ProxyResolverRequestClient override.
void ReportResult(int32_t error, const ProxyInfo& results) override;
- void Alert(const mojo::String& message) override;
- void OnError(int32_t line_number, const mojo::String& message) override;
+ void Alert(const std::string& message) override;
+ void OnError(int32_t line_number, const std::string& message) override;
void ResolveDns(std::unique_ptr<HostResolver::RequestInfo> request_info,
interfaces::HostResolverRequestClientPtr client) override;
@@ -85,12 +85,10 @@ void TestRequestClient::ReportResult(int32_t error, const ProxyInfo& results) {
done_ = true;
}
-void TestRequestClient::Alert(const mojo::String& message) {
-}
+void TestRequestClient::Alert(const std::string& message) {}
void TestRequestClient::OnError(int32_t line_number,
- const mojo::String& message) {
-}
+ const std::string& message) {}
void TestRequestClient::ResolveDns(
std::unique_ptr<HostResolver::RequestInfo> request_info,
« no previous file with comments | « net/proxy/mojo_proxy_resolver_factory_impl_unittest.cc ('k') | net/proxy/mojo_proxy_resolver_v8_tracing_bindings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698