| Index: mojo/public/cpp/bindings/lib/router.h
|
| diff --git a/mojo/public/cpp/bindings/lib/router.h b/mojo/public/cpp/bindings/lib/router.h
|
| index 2f5e8e2a971366c0ddc04895635be9d0565b29e5..fc15f65622a7fc355f0edc101e97560045086180 100644
|
| --- a/mojo/public/cpp/bindings/lib/router.h
|
| +++ b/mojo/public/cpp/bindings/lib/router.h
|
| @@ -39,6 +39,12 @@ class Router : public MessageReceiverWithResponder {
|
| incoming_receiver_ = receiver;
|
| }
|
|
|
| + // Sets the interface name for this Router. Used only for debugging.
|
| + void set_interface_name(const std::string& name) {
|
| + DCHECK(thread_checker_.CalledOnValidThread());
|
| + connector_.set_interface_name(name);
|
| + }
|
| +
|
| // Sets the error handler to receive notifications when an error is
|
| // encountered while reading from the pipe or waiting to read from the pipe.
|
| void set_connection_error_handler(const Closure& error_handler) {
|
|
|