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

Unified Diff: chrome/browser/chromeos/arc/intent_helper/arc_external_protocol_dialog.h

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
« no previous file with comments | « no previous file | chrome/browser/chromeos/arc/intent_helper/arc_external_protocol_dialog.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/arc/intent_helper/arc_external_protocol_dialog.h
diff --git a/chrome/browser/chromeos/arc/intent_helper/arc_external_protocol_dialog.h b/chrome/browser/chromeos/arc/intent_helper/arc_external_protocol_dialog.h
index 36bf5dbebf1a756583cecae2ddf883ea7689d664..7a662254409f7a06f1736a2402bbf2bdc1876b59 100644
--- a/chrome/browser/chromeos/arc/intent_helper/arc_external_protocol_dialog.h
+++ b/chrome/browser/chromeos/arc/intent_helper/arc_external_protocol_dialog.h
@@ -45,6 +45,7 @@ bool RunArcExternalProtocolDialog(const GURL& url,
GetActionResult GetActionForTesting(
const GURL& original_url,
+ bool always_ask_user,
const std::vector<mojom::IntentHandlerInfoPtr>& handlers,
size_t selected_app_index,
std::pair<GURL, std::string>* out_url_and_package);
@@ -52,6 +53,12 @@ GetActionResult GetActionForTesting(
GURL GetUrlToNavigateOnDeactivateForTesting(
const std::vector<mojom::IntentHandlerInfoPtr>& handlers);
+bool IsSafeToRedirectToArcWithoutUserConfirmationForTesting(
+ const GURL& url,
+ ui::PageTransition page_transition,
+ const GURL& last_url,
+ ui::PageTransition last_page_transition);
+
} // namespace arc
#endif // CHROME_BROWSER_CHROMEOS_ARC_INTENT_HELPER_ARC_EXTERNAL_PROTOCOL_DIALOG_H_
« no previous file with comments | « no previous file | chrome/browser/chromeos/arc/intent_helper/arc_external_protocol_dialog.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698