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

Unified Diff: content/browser/mojo/mojo_application_host.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
Index: content/browser/mojo/mojo_application_host.h
diff --git a/content/browser/mojo/mojo_application_host.h b/content/browser/mojo/mojo_application_host.h
index a28d2a38aac44ed1f55ff8a4b061ec95b3349859..d9c61a5c3671e9dbac7d6877df5d27f7573f1338 100644
--- a/content/browser/mojo/mojo_application_host.h
+++ b/content/browser/mojo/mojo_application_host.h
@@ -42,19 +42,13 @@ class MojoApplicationHost {
private:
class ShellImpl : public mojo::InterfaceImpl<mojo::Shell> {
public:
- ShellImpl() : client_(NULL) {}
- mojo::ShellClient* client() { return client_; }
-
virtual void OnConnectionError() OVERRIDE {
// TODO(darin): How should we handle this error?
}
// mojo::Shell methods:
- virtual void SetClient(mojo::ShellClient* client) OVERRIDE;
virtual void Connect(const mojo::String& url,
mojo::ScopedMessagePipeHandle handle) OVERRIDE;
- private:
- mojo::ShellClient* client_;
};
mojo::common::ChannelInit channel_init_;
« no previous file with comments | « chrome/browser/ui/webui/omnibox/omnibox_ui_handler.cc ('k') | content/browser/mojo/mojo_application_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698