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

Unified Diff: mojo/public/cpp/bindings/lib/interface_ptr_internal.h

Issue 280003003: Add SetClient method implementation to InterfaceImpl. (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/public/cpp/bindings/lib/interface_impl_internal.h ('k') | mojo/public/cpp/bindings/no_interface.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/cpp/bindings/lib/interface_ptr_internal.h
diff --git a/mojo/public/cpp/bindings/lib/interface_ptr_internal.h b/mojo/public/cpp/bindings/lib/interface_ptr_internal.h
index 041a31c8a0c8134058705775019069d19f924f6c..08da0d138968e7263c2e8754d38b07e6bcd47988 100644
--- a/mojo/public/cpp/bindings/lib/interface_ptr_internal.h
+++ b/mojo/public/cpp/bindings/lib/interface_ptr_internal.h
@@ -77,18 +77,18 @@ class InterfacePtrState {
explicit ProxyWithStub(MessageReceiver* receiver)
: Interface::Proxy_(receiver) {
}
- virtual void SetClient(typename Interface::Client_* client) MOJO_OVERRIDE {
+ virtual void SetClient(typename Interface::Client* client) MOJO_OVERRIDE {
stub.set_sink(client);
}
- typename Interface::Client_::Stub_ stub;
+ typename Interface::Client::Stub_ stub;
private:
MOJO_DISALLOW_COPY_AND_ASSIGN(ProxyWithStub);
};
- class ClientProxyWithStub : public Interface::Client_::Proxy_ {
+ class ClientProxyWithStub : public Interface::Client::Proxy_ {
public:
explicit ClientProxyWithStub(MessageReceiver* receiver)
- : Interface::Client_::Proxy_(receiver) {
+ : Interface::Client::Proxy_(receiver) {
}
typename Interface::Stub_ stub;
private:
@@ -96,7 +96,7 @@ class InterfacePtrState {
};
Interface* instance_;
- typename Interface::Client_* client_;
+ typename Interface::Client* client_;
Router* router_;
MOJO_DISALLOW_COPY_AND_ASSIGN(InterfacePtrState);
« no previous file with comments | « mojo/public/cpp/bindings/lib/interface_impl_internal.h ('k') | mojo/public/cpp/bindings/no_interface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698