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

Unified Diff: components/favicon/content/content_favicon_driver.cc

Issue 2225343002: Navigation: move RestoreType and ReloadType into a separate file (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: [rebase] Created 4 years, 3 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: components/favicon/content/content_favicon_driver.cc
diff --git a/components/favicon/content/content_favicon_driver.cc b/components/favicon/content/content_favicon_driver.cc
index 413517ad0da1c3713446e0cd39bdad07c2a45c63..dfc40d4e1ba75caf75c19cf0614131ea9f78cc6e 100644
--- a/components/favicon/content/content_favicon_driver.cc
+++ b/components/favicon/content/content_favicon_driver.cc
@@ -164,15 +164,13 @@ void ContentFaviconDriver::DidUpdateFaviconURL(
void ContentFaviconDriver::DidStartNavigationToPendingEntry(
const GURL& url,
- content::NavigationController::ReloadType reload_type) {
- if (reload_type == content::NavigationController::NO_RELOAD ||
- IsOffTheRecord())
+ content::ReloadType reload_type) {
+ if (reload_type == content::ReloadType::NONE || IsOffTheRecord())
return;
bypass_cache_page_url_ = url;
SetFaviconOutOfDateForPage(
- url,
- reload_type == content::NavigationController::RELOAD_BYPASSING_CACHE);
+ url, reload_type == content::ReloadType::BYPASSING_CACHE);
}
void ContentFaviconDriver::DidNavigateMainFrame(
« no previous file with comments | « components/favicon/content/content_favicon_driver.h ('k') | content/browser/android/web_contents_observer_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698