#ifndef APPS_TEST_APP_SHELL_TEST_H_
#define APPS_TEST_APP_SHELL_TEST_H_
#include "base/memory/scoped_ptr.h"
#include "content/public/test/browser_test.h"
#include "content/public/test/browser_test_base.h"
namespace base {
class FilePath;
}
namespace content {
class BrowserContext;
}
namespace extensions {
class ShellExtensionSystem;
}
namespace apps {
class AppShellTest : public content::BrowserTestBase {
public:
AppShellTest();
virtual ~AppShellTest();
virtual void SetUpOnMainThread() OVERRIDE;
virtual void RunTestOnMainThreadLoop() OVERRIDE;
bool LoadAndLaunchApp(const base::FilePath& app_dir);
content::BrowserContext* browser_context() { return browser_context_; }
private:
content::BrowserContext* browser_context_;
extensions::ShellExtensionSystem* extension_system_;
};
}
#endif