Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(347)

Unified Diff: chrome/browser/ui/browser_navigator_browsertest.h

Issue 21378002: Support POST in browser navaigation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: preventing a renderer initiated navigation from using POST Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/browser_navigator_browsertest.h
===================================================================
--- chrome/browser/ui/browser_navigator_browsertest.h (revision 215313)
+++ chrome/browser/ui/browser_navigator_browsertest.h (working copy)
@@ -5,6 +5,8 @@
#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"
@@ -13,11 +15,11 @@
namespace chrome {
struct NavigateParams;
-}
+} // namespace chrome
namespace content {
class WebContents;
-}
+} // namespace content
jam 2013/08/03 05:23:22 nit: no need to add the extra "namespace foo" here
Johnny(Jianning) Ding 2013/08/03 18:05:42 Done.
// Browsertest class for testing the browser navigation. It is also a base class
// for the |BrowserGuestModeNavigation| which tests navigation while in guest
@@ -42,6 +44,11 @@
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_;
};

Powered by Google App Engine
This is Rietveld 408576698