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

Unified Diff: chrome/browser/tab_contents/navigation_controller.cc

Issue 20066: Move resource_message_filter and resource_request_details to the renderer_hos... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 11 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/tab_contents/navigation_controller.cc
===================================================================
--- chrome/browser/tab_contents/navigation_controller.cc (revision 9158)
+++ chrome/browser/tab_contents/navigation_controller.cc (working copy)
@@ -9,9 +9,9 @@
#include "base/string_util.h"
#include "chrome/browser/browser_process.h"
#include "chrome/browser/dom_ui/dom_ui_host.h"
-#include "chrome/browser/repost_form_warning_dialog.h"
#include "chrome/browser/sessions/session_types.h"
#include "chrome/browser/tab_contents/navigation_entry.h"
+#include "chrome/browser/tab_contents/repost_form_warning.h"
#include "chrome/browser/tab_contents/site_instance.h"
#include "chrome/browser/tab_contents/tab_contents.h"
#include "chrome/browser/tab_contents/tab_contents_delegate.h"
@@ -212,10 +212,10 @@
if (check_for_repost_ && check_for_repost && current_index != -1 &&
GetEntryAtIndex(current_index)->has_post_data()) {
// The user is asking to reload a page with POST data. Prompt to make sure
- // they really want to do this. If they do, RepostFormWarningDialog calls us
- // back with ReloadDontCheckForRepost.
+ // they really want to do this. If they do, the dialog will call us back
+ // with check_for_repost = false.
active_contents_->Activate();
- RepostFormWarningDialog::RunRepostFormWarningDialog(this);
+ RunRepostFormWarningDialog(this);
} else {
// Base the navigation on where we are now...
int current_index = GetCurrentEntryIndex();

Powered by Google App Engine
This is Rietveld 408576698