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

Unified Diff: components/arc/intent_helper/page_transition_util.cc

Issue 2540013004: Allow an external URL with FROM_API qualifier to be forwarded to ARC (Closed)
Patch Set: address comment Created 4 years 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/arc/intent_helper/page_transition_util.cc
diff --git a/components/arc/intent_helper/page_transition_util.cc b/components/arc/intent_helper/page_transition_util.cc
index ca5acd754667f347c7eb73ac0126576e9ffb6c61..e4cc29db66c7384b24e03646a563637c0a0d6104 100644
--- a/components/arc/intent_helper/page_transition_util.cc
+++ b/components/arc/intent_helper/page_transition_util.cc
@@ -6,15 +6,6 @@
namespace arc {
-namespace {
-
-ui::PageTransition MaskOutPageTransition(ui::PageTransition page_transition,
- ui::PageTransition mask) {
- return ui::PageTransitionFromInt(page_transition & ~mask);
-}
-
-} // namespace
-
bool ShouldIgnoreNavigation(ui::PageTransition page_transition,
bool allow_form_submit,
bool allow_client_redirect) {
@@ -46,10 +37,9 @@ bool ShouldIgnoreNavigation(ui::PageTransition page_transition,
return false;
}
-ui::PageTransition MaskOutPageTransitionForTesting(
- ui::PageTransition page_transition,
- ui::PageTransition mask) {
- return MaskOutPageTransition(page_transition, mask);
+ui::PageTransition MaskOutPageTransition(ui::PageTransition page_transition,
+ ui::PageTransition mask) {
+ return ui::PageTransitionFromInt(page_transition & ~mask);
}
} // namespace arc
« no previous file with comments | « components/arc/intent_helper/page_transition_util.h ('k') | components/arc/intent_helper/page_transition_util_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698