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

Unified Diff: content/public/common/page_transition_types.cc

Issue 101573003: Add the navigation redirect-chain to Sync sessions proto for offline analysis. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated a comment. Created 6 years, 9 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: content/public/common/page_transition_types.cc
diff --git a/content/public/common/page_transition_types.cc b/content/public/common/page_transition_types.cc
index 52a0561765d35139c60d0386705622e08c1b7150..87c779f1212adf34ab3a3fc261e721303b029b4a 100644
--- a/content/public/common/page_transition_types.cc
+++ b/content/public/common/page_transition_types.cc
@@ -47,6 +47,10 @@ bool PageTransitionIsRedirect(PageTransition type) {
return (type & PAGE_TRANSITION_IS_REDIRECT_MASK) != 0;
}
+bool PageTransitionIsForwardBack(PageTransition type) {
+ return (type & PAGE_TRANSITION_FORWARD_BACK) != 0;
+}
+
int32 PageTransitionGetQualifier(PageTransition type) {
return type & PAGE_TRANSITION_QUALIFIER_MASK;
}

Powered by Google App Engine
This is Rietveld 408576698