| 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..0c7cf3e80e3819f12dc9b424102db64f90af7606 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,9 @@ 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_;
|
| +
|
| // This has to be the last member of the class.
|
| base::WeakPtrFactory<ArcNavigationThrottle> weak_ptr_factory_;
|
|
|
|
|