| Index: chrome/browser/ui/webui/mojo_web_ui_controller.h
|
| diff --git a/chrome/browser/ui/webui/mojo_web_ui_controller.h b/chrome/browser/ui/webui/mojo_web_ui_controller.h
|
| index cf79861a3b6e2d0351ab8d1cd0364d8784835950..35ba56d82f841502a186445f2feac4132354fd46 100644
|
| --- a/chrome/browser/ui/webui/mojo_web_ui_controller.h
|
| +++ b/chrome/browser/ui/webui/mojo_web_ui_controller.h
|
| @@ -8,6 +8,7 @@
|
| #include <string>
|
|
|
| #include "base/memory/scoped_ptr.h"
|
| +#include "base/memory/weak_ptr.h"
|
| #include "content/public/browser/web_ui_controller.h"
|
| #include "mojo/public/cpp/system/core.h"
|
|
|
| @@ -42,11 +43,16 @@ class MojoWebUIController : public content::WebUIController {
|
| mojo::ScopedMessagePipeHandle handle_to_page) = 0;
|
|
|
| private:
|
| + // Invoked in response to a connection from the renderer.
|
| + void CreateAndStoreUIHandler(mojo::ScopedMessagePipeHandle handle);
|
| +
|
| // Bindings files are registered here.
|
| content::WebUIDataSource* mojo_data_source_;
|
|
|
| scoped_ptr<MojoWebUIHandler> ui_handler_;
|
|
|
| + base::WeakPtrFactory<MojoWebUIController> weak_factory_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(MojoWebUIController);
|
| };
|
|
|
|
|