Chromium Code Reviews| 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..571bbbc708d5fb721af3d5aabcece7123800b89b 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); |
| + explicit ShellDevToolsDelegate(BrowserContext* browser_context, int port); |
|
yurys
2012/10/05 14:29:49
No need for explicit.
pfeldman
2012/10/05 14:36:47
Done.
|
| 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); |