| Index: chrome/browser/android/offline_pages/offline_page_utils.h
|
| diff --git a/chrome/browser/android/offline_pages/offline_page_utils.h b/chrome/browser/android/offline_pages/offline_page_utils.h
|
| index 85f61b60c5a7acc47e4c42aedf73f8134e9c1531..f2231957ff4e586567fd3d95dbdf2f5eeb0dc424 100644
|
| --- a/chrome/browser/android/offline_pages/offline_page_utils.h
|
| +++ b/chrome/browser/android/offline_pages/offline_page_utils.h
|
| @@ -9,8 +9,7 @@
|
|
|
| #include "base/callback.h"
|
| #include "components/offline_pages/core/offline_page_model.h"
|
| -
|
| -class GURL;
|
| +#include "url/gurl.h"
|
|
|
| namespace base {
|
| class Time;
|
| @@ -95,6 +94,10 @@ class OfflinePageUtils {
|
|
|
| static void StartOfflinePageDownload(content::BrowserContext* context,
|
| const GURL& url);
|
| +
|
| + // Returns original URL of the given web contents. Empty URL is returned if
|
| + // no redirect occurred.
|
| + static GURL GetOriginalURLFromWebContents(content::WebContents* web_contents);
|
| };
|
|
|
| } // namespace offline_pages
|
|
|