#ifndef CHROME_BROWSER_CHROMEOS_LOGIN_HELP_APP_LAUNCHER_H_
#define CHROME_BROWSER_CHROMEOS_LOGIN_HELP_APP_LAUNCHER_H_
#include "base/compiler_specific.h"
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
#include "chrome/browser/chromeos/login/login_web_dialog.h"
#include "ui/gfx/native_widget_types.h"
class Profile;
namespace chromeos {
class HelpAppLauncher : public base::RefCountedThreadSafe<HelpAppLauncher> {
public:
enum HelpTopic {
HELP_CONNECTIVITY = 188752,
HELP_STATS_USAGE = 183078,
HELP_CANT_ACCESS_ACCOUNT_OFFLINE = 188755,
HELP_CANT_ACCESS_ACCOUNT = 188036,
HELP_ACCOUNT_DISABLED = 188756,
HELP_HOSTED_ACCOUNT = 1054228,
HELP_ENTERPRISE = 2535613,
HELP_POWERWASH = 183084,
};
explicit HelpAppLauncher(gfx::NativeWindow parent_window);
void ShowHelpTopic(HelpTopic help_topic_id);
protected:
virtual ~HelpAppLauncher();
private:
friend class base::RefCountedThreadSafe<HelpAppLauncher>;
void ShowHelpTopicDialog(Profile* profile, const GURL& topic_url);
gfx::NativeWindow parent_window_;
DISALLOW_COPY_AND_ASSIGN(HelpAppLauncher);
};
}
#endif