#ifndef CHROME_BROWSER_UI_BROWSER_NAVIGATOR_BROWSERTEST_H_
#define CHROME_BROWSER_UI_BROWSER_NAVIGATOR_BROWSERTEST_H_
#include <string>
#include "chrome/browser/ui/browser.h"
#include "chrome/test/base/in_process_browser_test.h"
#include "content/public/browser/notification_types.h"
class Profile;
namespace chrome {
struct NavigateParams;
}
namespace content {
class WebContents;
}
class BrowserNavigatorTest : public InProcessBrowserTest,
public content::NotificationObserver {
protected:
chrome::NavigateParams MakeNavigateParams() const;
chrome::NavigateParams MakeNavigateParams(Browser* browser) const;
Browser* CreateEmptyBrowserForType(Browser::Type type, Profile* profile);
Browser* CreateEmptyBrowserForApp(Browser::Type type, Profile* profile);
content::WebContents* CreateWebContents();
void RunSuppressTest(WindowOpenDisposition disposition);
void RunUseNonIncognitoWindowTest(const GURL& url);
void RunDoNothingIfIncognitoIsForcedTest(const GURL& url);
virtual void Observe(int type,
const content::NotificationSource& source,
const content::NotificationDetails& details) OVERRIDE;
bool OpenPOSTURLInNewForegroundTabAndGetTitle(const GURL& url,
const std::string& post_data,
bool is_browser_initiated,
base::string16* title);
size_t created_tab_contents_count_;
};
#endif