| 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 18be29a51e610dde611914d4536bbae3b2aa11d1..395d3923ba42449fce62b8e6ef9f572b19947249 100644
|
| --- a/chrome/browser/chromeos/arc/arc_navigation_throttle.h
|
| +++ b/chrome/browser/chromeos/arc/arc_navigation_throttle.h
|
| @@ -16,8 +16,7 @@
|
| #include "components/arc/intent_helper/activity_icon_loader.h"
|
| #include "content/public/browser/navigation_throttle.h"
|
| #include "ui/gfx/image/image.h"
|
| -
|
| -class GURL;
|
| +#include "url/gurl.h"
|
|
|
| namespace content {
|
| class NavigationHandle;
|
| @@ -80,6 +79,7 @@ class ArcNavigationThrottle : public content::NavigationThrottle {
|
| void OnIntentPickerClosed(mojo::Array<mojom::IntentHandlerInfoPtr> handlers,
|
| 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().
|
| @@ -91,6 +91,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_;
|
|
|
|
|