| Index: chrome/browser/chromeos/arc/intent_helper/arc_navigation_throttle.h
|
| diff --git a/chrome/browser/chromeos/arc/intent_helper/arc_navigation_throttle.h b/chrome/browser/chromeos/arc/intent_helper/arc_navigation_throttle.h
|
| index a90308338e3c43e3af199c9f10ef3b044812e627..eeeec5a6edec5e644d523a52bc330416fcc35ed6 100644
|
| --- a/chrome/browser/chromeos/arc/intent_helper/arc_navigation_throttle.h
|
| +++ b/chrome/browser/chromeos/arc/intent_helper/arc_navigation_throttle.h
|
| @@ -17,8 +17,7 @@
|
| #include "content/public/browser/navigation_throttle.h"
|
| #include "mojo/public/cpp/bindings/array.h"
|
| #include "ui/gfx/image/image.h"
|
| -
|
| -class GURL;
|
| +#include "url/gurl.h"
|
|
|
| namespace content {
|
| class NavigationHandle;
|
| @@ -95,6 +94,7 @@ class ArcNavigationThrottle : public content::NavigationThrottle {
|
| void OnIntentPickerClosed(mojo::Array<mojom::IntentHandlerInfoPtr> handlers,
|
| const std::string& selected_app_package,
|
| CloseReason close_reason);
|
| + GURL GetStartingGURL() const;
|
| // A callback object that allow us to display an IntentPicker when Run() is
|
| // executed, it also allow us to report the user's selection back to
|
| // OnIntentPickerClosed().
|
| @@ -106,6 +106,12 @@ class ArcNavigationThrottle : public content::NavigationThrottle {
|
| // popping up the dialog multiple times on chains of multiple redirects.
|
| CloseReason previous_user_action_;
|
|
|
| + // Keeps a referrence to the starting GURL.
|
| + GURL starting_gurl_;
|
| +
|
| + // Whether or not the navigation was redirected to ARC.
|
| + bool redirected_to_arc_;
|
| +
|
| // This has to be the last member of the class.
|
| base::WeakPtrFactory<ArcNavigationThrottle> weak_ptr_factory_;
|
|
|
|
|