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

Unified Diff: mojo/services/dbus_echo/dbus_echo_service.cc

Issue 294833002: Mojo: more idiomatic C++ bindings (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 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 | « mojo/service_manager/service_manager_unittest.cc ('k') | mojo/services/gles2/command_buffer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/dbus_echo/dbus_echo_service.cc
diff --git a/mojo/services/dbus_echo/dbus_echo_service.cc b/mojo/services/dbus_echo/dbus_echo_service.cc
index bc063b2eb0e6574bbdcf0f286a8ab1efdbada3e7..560daa6b9de9a7d3c5852e05d11a904a3b57b18a 100644
--- a/mojo/services/dbus_echo/dbus_echo_service.cc
+++ b/mojo/services/dbus_echo/dbus_echo_service.cc
@@ -25,7 +25,7 @@ class EchoServiceImpl : public mojo::InterfaceImpl<mojo::EchoService> {
virtual void Echo(
const mojo::String& in_to_echo,
const mojo::Callback<void(mojo::String)>& callback) OVERRIDE {
- DVLOG(1) << "Asked to echo " << in_to_echo.To<std::string>();
+ DVLOG(1) << "Asked to echo " << in_to_echo;
callback.Run(in_to_echo);
}
};
« no previous file with comments | « mojo/service_manager/service_manager_unittest.cc ('k') | mojo/services/gles2/command_buffer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698