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

Unified Diff: chrome/browser/sessions/session_service.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, 4 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/sessions/session_service.cc
diff --git a/chrome/browser/sessions/session_service.cc b/chrome/browser/sessions/session_service.cc
index 62dcc8931cd8f230a02c334735d7b85e9ce9d05f..2243c0df517557f98d32e63376627966d58559ac 100644
--- a/chrome/browser/sessions/session_service.cc
+++ b/chrome/browser/sessions/session_service.cc
@@ -671,8 +671,8 @@ void SessionService::Observe(int type,
session_tab_helper->session_id(),
navigation);
content::Details<content::LoadCommittedDetails> changed(details);
- if (changed->type == content::NAVIGATION_TYPE_NEW_PAGE ||
- changed->type == content::NAVIGATION_TYPE_EXISTING_PAGE) {
+ if (changed->type == content::NavigationType::NEW_PAGE ||
+ changed->type == content::NavigationType::EXISTING_PAGE) {
RecordSessionUpdateHistogramData(type,
&last_updated_nav_entry_commit_time_);
}

Powered by Google App Engine
This is Rietveld 408576698