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

Side by Side Diff: content/browser/frame_host/navigation_controller_android.cc

Issue 1846653004: Rename IGNORING_CACHE to BYPASSING_CACHE (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 8 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 unified diff | Download patch
OLDNEW
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 "content/browser/frame_host/navigation_controller_android.h" 5 #include "content/browser/frame_host/navigation_controller_android.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include "base/android/jni_android.h" 9 #include "base/android/jni_android.h"
10 #include "base/android/jni_array.h" 10 #include "base/android/jni_array.h"
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 navigation_controller_->Reload(check_for_repost); 152 navigation_controller_->Reload(check_for_repost);
153 } 153 }
154 154
155 void NavigationControllerAndroid::ReloadToRefreshContent( 155 void NavigationControllerAndroid::ReloadToRefreshContent(
156 JNIEnv* env, 156 JNIEnv* env,
157 jobject obj, 157 jobject obj,
158 jboolean check_for_repost) { 158 jboolean check_for_repost) {
159 navigation_controller_->ReloadToRefreshContent(check_for_repost); 159 navigation_controller_->ReloadToRefreshContent(check_for_repost);
160 } 160 }
161 161
162 void NavigationControllerAndroid::ReloadIgnoringCache( 162 void NavigationControllerAndroid::ReloadBypassingCache(
163 JNIEnv* env, 163 JNIEnv* env,
164 const JavaParamRef<jobject>& obj, 164 const JavaParamRef<jobject>& obj,
165 jboolean check_for_repost) { 165 jboolean check_for_repost) {
166 navigation_controller_->ReloadIgnoringCache(check_for_repost); 166 navigation_controller_->ReloadBypassingCache(check_for_repost);
167 } 167 }
168 168
169 void NavigationControllerAndroid::ReloadDisableLoFi( 169 void NavigationControllerAndroid::ReloadDisableLoFi(
170 JNIEnv* env, 170 JNIEnv* env,
171 const JavaParamRef<jobject>& obj, 171 const JavaParamRef<jobject>& obj,
172 jboolean check_for_repost) { 172 jboolean check_for_repost) {
173 navigation_controller_->ReloadDisableLoFi(check_for_repost); 173 navigation_controller_->ReloadDisableLoFi(check_for_repost);
174 } 174 }
175 175
176 void NavigationControllerAndroid::RequestRestoreLoad( 176 void NavigationControllerAndroid::RequestRestoreLoad(
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
428 const JavaParamRef<jobject>& obj, 428 const JavaParamRef<jobject>& obj,
429 jlong source_navigation_controller_android, 429 jlong source_navigation_controller_android,
430 jboolean replace_entry) { 430 jboolean replace_entry) {
431 navigation_controller_->CopyStateFromAndPrune( 431 navigation_controller_->CopyStateFromAndPrune(
432 reinterpret_cast<NavigationControllerAndroid*>( 432 reinterpret_cast<NavigationControllerAndroid*>(
433 source_navigation_controller_android)->navigation_controller_, 433 source_navigation_controller_android)->navigation_controller_,
434 replace_entry); 434 replace_entry);
435 } 435 }
436 436
437 } // namespace content 437 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/frame_host/navigation_controller_android.h ('k') | content/browser/frame_host/navigation_controller_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698