| 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 /* | 5 /* |
| 6 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. | 6 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. |
| 7 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) | 7 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) |
| 8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. | 8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. |
| 9 * (http://www.torchmobile.com/) | 9 * (http://www.torchmobile.com/) |
| 10 * | 10 * |
| (...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 302 if (last_committed && | 302 if (last_committed && |
| 303 !(check_for_repost && last_committed->GetHasPostData())) { | 303 !(check_for_repost && last_committed->GetHasPostData())) { |
| 304 LoadURL(last_committed->GetURL(), last_committed->GetReferrer(), | 304 LoadURL(last_committed->GetURL(), last_committed->GetReferrer(), |
| 305 last_committed->GetTransitionType(), | 305 last_committed->GetTransitionType(), |
| 306 last_committed->extra_headers()); | 306 last_committed->extra_headers()); |
| 307 return; | 307 return; |
| 308 } | 308 } |
| 309 } | 309 } |
| 310 ReloadInternal(check_for_repost, RELOAD); | 310 ReloadInternal(check_for_repost, RELOAD); |
| 311 } | 311 } |
| 312 void NavigationControllerImpl::ReloadIgnoringCache(bool check_for_repost) { | 312 void NavigationControllerImpl::ReloadBypassingCache(bool check_for_repost) { |
| 313 ReloadInternal(check_for_repost, RELOAD_IGNORING_CACHE); | 313 ReloadInternal(check_for_repost, RELOAD_BYPASSING_CACHE); |
| 314 } | 314 } |
| 315 void NavigationControllerImpl::ReloadOriginalRequestURL(bool check_for_repost) { | 315 void NavigationControllerImpl::ReloadOriginalRequestURL(bool check_for_repost) { |
| 316 ReloadInternal(check_for_repost, RELOAD_ORIGINAL_REQUEST_URL); | 316 ReloadInternal(check_for_repost, RELOAD_ORIGINAL_REQUEST_URL); |
| 317 } | 317 } |
| 318 void NavigationControllerImpl::ReloadDisableLoFi(bool check_for_repost) { | 318 void NavigationControllerImpl::ReloadDisableLoFi(bool check_for_repost) { |
| 319 ReloadInternal(check_for_repost, RELOAD_DISABLE_LOFI_MODE); | 319 ReloadInternal(check_for_repost, RELOAD_DISABLE_LOFI_MODE); |
| 320 } | 320 } |
| 321 | 321 |
| 322 void NavigationControllerImpl::ReloadInternal(bool check_for_repost, | 322 void NavigationControllerImpl::ReloadInternal(bool check_for_repost, |
| 323 ReloadType reload_type) { | 323 ReloadType reload_type) { |
| (...skipping 1715 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2039 } | 2039 } |
| 2040 } | 2040 } |
| 2041 } | 2041 } |
| 2042 | 2042 |
| 2043 void NavigationControllerImpl::SetGetTimestampCallbackForTest( | 2043 void NavigationControllerImpl::SetGetTimestampCallbackForTest( |
| 2044 const base::Callback<base::Time()>& get_timestamp_callback) { | 2044 const base::Callback<base::Time()>& get_timestamp_callback) { |
| 2045 get_timestamp_callback_ = get_timestamp_callback; | 2045 get_timestamp_callback_ = get_timestamp_callback; |
| 2046 } | 2046 } |
| 2047 | 2047 |
| 2048 } // namespace content | 2048 } // namespace content |
| OLD | NEW |