| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "base/basictypes.h" | 5 #include "base/basictypes.h" |
| 6 #include "base/bind.h" | 6 #include "base/bind.h" |
| 7 #include "base/files/file_util.h" | 7 #include "base/files/file_util.h" |
| 8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
| 9 #include "base/path_service.h" | |
| 10 #include "base/stl_util.h" | 9 #include "base/stl_util.h" |
| 11 #include "base/strings/string_util.h" | 10 #include "base/strings/string_util.h" |
| 12 #include "base/strings/utf_string_conversions.h" | 11 #include "base/strings/utf_string_conversions.h" |
| 13 #include "base/time/time.h" | 12 #include "base/time/time.h" |
| 14 #include "content/browser/frame_host/cross_site_transferring_request.h" | 13 #include "content/browser/frame_host/cross_site_transferring_request.h" |
| 15 #include "content/browser/frame_host/navigation_controller_impl.h" | 14 #include "content/browser/frame_host/navigation_controller_impl.h" |
| 16 #include "content/browser/frame_host/navigation_entry_impl.h" | 15 #include "content/browser/frame_host/navigation_entry_impl.h" |
| 17 #include "content/browser/frame_host/navigation_entry_screenshot_manager.h" | 16 #include "content/browser/frame_host/navigation_entry_screenshot_manager.h" |
| 18 #include "content/browser/frame_host/navigator.h" | 17 #include "content/browser/frame_host/navigator.h" |
| 19 #include "content/browser/site_instance_impl.h" | 18 #include "content/browser/site_instance_impl.h" |
| (...skipping 4370 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4390 params.post_id = -1; | 4389 params.post_id = -1; |
| 4391 contents()->GetMainFrame()->SendNavigateWithParams(¶ms); | 4390 contents()->GetMainFrame()->SendNavigateWithParams(¶ms); |
| 4392 | 4391 |
| 4393 // Now reload. replaceState overrides the POST, so we should not show a | 4392 // Now reload. replaceState overrides the POST, so we should not show a |
| 4394 // repost warning dialog. | 4393 // repost warning dialog. |
| 4395 controller_impl().Reload(true); | 4394 controller_impl().Reload(true); |
| 4396 EXPECT_EQ(0, delegate->repost_form_warning_count()); | 4395 EXPECT_EQ(0, delegate->repost_form_warning_count()); |
| 4397 } | 4396 } |
| 4398 | 4397 |
| 4399 } // namespace content | 4398 } // namespace content |
| OLD | NEW |