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

Unified Diff: mojo/services/log/cpp/lib/log_client.cc

Issue 1660403003: Mojo C++ bindings: Rename InterfaceInfoPtr -> InterfaceHandle (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: using {{InterfaceName}}Handle = InterfaceHandle<{{InterfaceName}}> Created 4 years, 11 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: mojo/services/log/cpp/lib/log_client.cc
diff --git a/mojo/services/log/cpp/lib/log_client.cc b/mojo/services/log/cpp/lib/log_client.cc
index 88980a9df84f25f817a9a8389859037a8113fe7f..edbf64cad0dfeffa7cc904fda7001a4b04ec0a0b 100644
--- a/mojo/services/log/cpp/lib/log_client.cc
+++ b/mojo/services/log/cpp/lib/log_client.cc
@@ -10,7 +10,7 @@
#include <utility>
#include "mojo/public/c/environment/logger.h"
-#include "mojo/public/cpp/bindings/interface_ptr_info.h"
+#include "mojo/public/cpp/bindings/interface_handle.h"
#include "mojo/public/cpp/bindings/lib/message_builder.h"
#include "mojo/public/cpp/system/macros.h"
#include "mojo/public/cpp/system/message_pipe.h"
@@ -48,7 +48,7 @@ class LogClient {
void SetMinimumLogLevel(MojoLogLevel level);
private:
- const InterfacePtrInfo<mojo::log::Log> log_interface_;
+ const InterfaceHandle<mojo::log::Log> log_interface_;
const MojoLogger* const fallback_logger_;
MOJO_DISALLOW_COPY_AND_ASSIGN(LogClient);

Powered by Google App Engine
This is Rietveld 408576698