| Index: content/shell/shell_devtools_delegate.h
|
| diff --git a/content/shell/shell_devtools_delegate.h b/content/shell/shell_devtools_delegate.h
|
| index 19557c1fdd71ef59c4fe9510775ab6daad2d16c2..96c99ef672c3f3cd1e6bf9fa947c1bd0163f0fb4 100644
|
| --- a/content/shell/shell_devtools_delegate.h
|
| +++ b/content/shell/shell_devtools_delegate.h
|
| @@ -13,11 +13,12 @@
|
|
|
| namespace content {
|
|
|
| +class BrowserContext;
|
| class DevToolsHttpHandler;
|
|
|
| class ShellDevToolsDelegate : public DevToolsHttpHandlerDelegate {
|
| public:
|
| - explicit ShellDevToolsDelegate(int port);
|
| + ShellDevToolsDelegate(BrowserContext* browser_context, int port);
|
| virtual ~ShellDevToolsDelegate();
|
|
|
| // Stops http server.
|
| @@ -28,12 +29,14 @@ class ShellDevToolsDelegate : public DevToolsHttpHandlerDelegate {
|
| virtual bool BundlesFrontendResources() OVERRIDE;
|
| virtual FilePath GetDebugFrontendDir() OVERRIDE;
|
| virtual std::string GetPageThumbnailData(const GURL& url) OVERRIDE;
|
| + virtual RenderViewHost* CreateNewTarget() OVERRIDE;
|
|
|
| DevToolsHttpHandler* devtools_http_handler() {
|
| return devtools_http_handler_;
|
| }
|
|
|
| private:
|
| + BrowserContext* browser_context_;
|
| DevToolsHttpHandler* devtools_http_handler_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(ShellDevToolsDelegate);
|
|
|