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

Unified Diff: net/proxy/mojo_proxy_resolver_v8_tracing_bindings_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
« no previous file with comments | « net/proxy/mojo_proxy_resolver_v8_tracing_bindings.h ('k') | net/proxy/proxy_resolver_factory_mojo.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/proxy/mojo_proxy_resolver_v8_tracing_bindings_unittest.cc
diff --git a/net/proxy/mojo_proxy_resolver_v8_tracing_bindings_unittest.cc b/net/proxy/mojo_proxy_resolver_v8_tracing_bindings_unittest.cc
index 6b6bd157a76fa673d3d912827ee9754ec0127fa4..b8a5a1331445a6d32e52b6e0a7a282c54028b5a2 100644
--- a/net/proxy/mojo_proxy_resolver_v8_tracing_bindings_unittest.cc
+++ b/net/proxy/mojo_proxy_resolver_v8_tracing_bindings_unittest.cc
@@ -23,12 +23,10 @@ class MojoProxyResolverV8TracingBindingsTest : public testing::Test {
MojoProxyResolverV8TracingBindingsTest>(this));
}
- void Alert(const mojo::String& message) {
- alerts_.push_back(message.To<std::string>());
- }
+ void Alert(const std::string& message) { alerts_.push_back(message); }
- void OnError(int32_t line_number, const mojo::String& message) {
- errors_.push_back(std::make_pair(line_number, message.To<std::string>()));
+ void OnError(int32_t line_number, const std::string& message) {
+ errors_.push_back(std::make_pair(line_number, message));
}
void ResolveDns(std::unique_ptr<HostResolver::RequestInfo> request_info,
« no previous file with comments | « net/proxy/mojo_proxy_resolver_v8_tracing_bindings.h ('k') | net/proxy/proxy_resolver_factory_mojo.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698