| Index: chrome/browser/ui/webui/inspect_ui.h
|
| diff --git a/chrome/browser/ui/webui/inspect_ui.h b/chrome/browser/ui/webui/inspect_ui.h
|
| index 02f195a74e4ce3b9ebb744593420ae656e31a6a6..07a1fb78b1622308f4ff498dc12ec43a7a2e8ef4 100644
|
| --- a/chrome/browser/ui/webui/inspect_ui.h
|
| +++ b/chrome/browser/ui/webui/inspect_ui.h
|
| @@ -46,6 +46,17 @@ class InspectUI : public content::WebUIController,
|
|
|
| static void InspectDevices(Browser* browser);
|
|
|
| + // WebUIController implementation.
|
| + virtual bool OverrideHandleWebUIMessage(const GURL& source_url,
|
| + const std::string& message,
|
| + const base::ListValue& args) OVERRIDE;
|
| +
|
| + // We forward these to |serviceworker_webui_|.
|
| + virtual void RenderViewCreated(
|
| + content::RenderViewHost* render_view_host) OVERRIDE;
|
| + virtual void RenderViewReused(
|
| + content::RenderViewHost* render_view_host) OVERRIDE;
|
| +
|
| private:
|
| // content::NotificationObserver overrides.
|
| virtual void Observe(int type,
|
| @@ -89,6 +100,8 @@ class InspectUI : public content::WebUIController,
|
|
|
| scoped_ptr<PortForwardingStatusSerializer> port_status_serializer_;
|
|
|
| + scoped_ptr<content::WebUI> serviceworker_webui_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(InspectUI);
|
| };
|
|
|
|
|