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

Unified Diff: chrome/browser/chromeos/arc/arc_navigation_throttle.h

Issue 2194523002: [arc-intents] Handle redirects. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Apply review feedback. Created 4 years, 5 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/chromeos/arc/arc_navigation_throttle.h
diff --git a/chrome/browser/chromeos/arc/arc_navigation_throttle.h b/chrome/browser/chromeos/arc/arc_navigation_throttle.h
index 0690af2a6a8951b2f5219f952ffef5cc7425dc5b..3410240027232f54974d34fc04c0df44edd9ae24 100644
--- a/chrome/browser/chromeos/arc/arc_navigation_throttle.h
+++ b/chrome/browser/chromeos/arc/arc_navigation_throttle.h
@@ -58,6 +58,7 @@ class ArcNavigationThrottle : public content::NavigationThrottle {
NavigationThrottle::ThrottleCheckResult WillStartRequest() override;
NavigationThrottle::ThrottleCheckResult WillRedirectRequest() override;
+ NavigationThrottle::ThrottleCheckResult HandleRequest();
void OnAppCandidatesReceived(mojo::Array<mojom::UrlHandlerInfoPtr> handlers);
void OnAppIconsReceived(
mojo::Array<mojom::UrlHandlerInfoPtr> handlers,
@@ -74,6 +75,9 @@ class ArcNavigationThrottle : public content::NavigationThrottle {
// OnDisambigDialogClosed().
ShowDisambigDialogCallback show_disambig_dialog_callback_;
+ CloseReason previous_user_action_;
nasko 2016/07/29 16:42:55 nit: Please put a comment on what this variable is
Ben Kwa 2016/07/29 18:29:12 Done.
+
+ // This has to be the last member of the class.
base::WeakPtrFactory<ArcNavigationThrottle> weak_ptr_factory_;
DISALLOW_COPY_AND_ASSIGN(ArcNavigationThrottle);

Powered by Google App Engine
This is Rietveld 408576698