#ifndef APPS_SHELL_BROWSER_SHELL_APPS_CLIENT_H_
#define APPS_SHELL_BROWSER_SHELL_APPS_CLIENT_H_
#include "apps/apps_client.h"
#include "base/basictypes.h"
#include "base/compiler_specific.h"
namespace content {
class BrowserContext;
}
namespace apps {
class ShellAppsClient : public AppsClient {
public:
explicit ShellAppsClient(content::BrowserContext* browser_context);
virtual ~ShellAppsClient();
private:
virtual std::vector<content::BrowserContext*> GetLoadedBrowserContexts()
OVERRIDE;
virtual bool CheckAppLaunch(content::BrowserContext* context,
const extensions::Extension* extension) OVERRIDE;
virtual AppWindow* CreateAppWindow(content::BrowserContext* context,
const extensions::Extension* extension)
OVERRIDE;
virtual void IncrementKeepAliveCount() OVERRIDE;
virtual void DecrementKeepAliveCount() OVERRIDE;
content::BrowserContext* browser_context_;
DISALLOW_COPY_AND_ASSIGN(ShellAppsClient);
};
}
#endif