Mojo: abstract interface implementation from generated Stub classes
commitc8826725c7d1fe6a5cf8d46eae51b226ec4a2359
authordarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 7 Jan 2014 22:41:53 +0000 (7 22:41 +0000)
committerdarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 7 Jan 2014 22:41:53 +0000 (7 22:41 +0000)
tree4f27fb6424541152472b9b10e6a010d1fe87649c
parent37ae8a4ebc0593bc0fb8704f5b070b6686f61f02
Mojo: abstract interface implementation from generated Stub classes

Remove RemotePtr<S>::SetPeer method in favor of an optionally NULL second constructor argument. (The reset method also gains an optionally NULL second argument.)

R=davemoore@chromium.org

Review URL: https://codereview.chromium.org/109103003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@243416 0039d316-1c4b-4281-b951-d872f2087c98
21 files changed:
mojo/examples/aura_demo/aura_demo.cc
mojo/examples/aura_demo/root_window_host_mojo.cc
mojo/examples/aura_demo/root_window_host_mojo.h
mojo/examples/compositor_app/compositor_app.cc
mojo/examples/compositor_app/gles2_client_impl.cc
mojo/examples/compositor_app/gles2_client_impl.h
mojo/examples/sample_app/gles2_client_impl.cc
mojo/examples/sample_app/gles2_client_impl.h
mojo/examples/sample_app/sample_app.cc
mojo/public/bindings/generators/cpp_templates/interface_definition.tmpl
mojo/public/bindings/generators/cpp_templates/interface_stub_declaration.tmpl
mojo/public/bindings/lib/remote_ptr.h
mojo/public/bindings/sample/sample_service_unittests.cc
mojo/public/tests/bindings_handle_passing_unittest.cc
mojo/public/tests/bindings_remote_ptr_unittest.cc
mojo/services/gles2/gles2_impl.cc
mojo/services/gles2/gles2_impl.h
mojo/services/native_viewport/native_viewport_service.cc
mojo/services/native_viewport/native_viewport_service.h
mojo/shell/service_manager.cc
mojo/shell/service_manager_unittest.cc