| Index: apps/shell/shell_content_browser_client.h
|
| diff --git a/apps/shell/shell_content_browser_client.h b/apps/shell/shell_content_browser_client.h
|
| index e72ab2ed6a9c662c1c811bedb11876d7a5d75dfa..db0f5a865fe15da77b6126ff5c54f2ef2246dee2 100644
|
| --- a/apps/shell/shell_content_browser_client.h
|
| +++ b/apps/shell/shell_content_browser_client.h
|
| @@ -8,6 +8,12 @@
|
| #include "base/compiler_specific.h"
|
| #include "content/public/browser/content_browser_client.h"
|
|
|
| +class GURL;
|
| +
|
| +namespace extensions {
|
| +class Extension;
|
| +}
|
| +
|
| namespace apps {
|
| class ShellBrowserMainParts;
|
|
|
| @@ -24,8 +30,19 @@ class ShellContentBrowserClient : public content::ContentBrowserClient {
|
| content::ProtocolHandlerMap* protocol_handlers) OVERRIDE;
|
| // TODO(jamescook): Quota management?
|
| // TODO(jamescook): Speech recognition?
|
| + virtual bool IsHandledURL(const GURL& url) OVERRIDE;
|
| + virtual void SiteInstanceGotProcess(content::SiteInstance* site_instance)
|
| + OVERRIDE;
|
| + virtual void SiteInstanceDeleting(content::SiteInstance* site_instance)
|
| + OVERRIDE;
|
| + virtual void AppendExtraCommandLineSwitches(CommandLine* command_line,
|
| + int child_process_id) OVERRIDE;
|
|
|
| private:
|
| + // Returns the extension or app associated with |site_instance| or NULL.
|
| + const extensions::Extension* GetExtension(
|
| + content::SiteInstance* site_instance);
|
| +
|
| // Owned by content::BrowserMainLoop.
|
| ShellBrowserMainParts* browser_main_parts_;
|
|
|
|
|