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..08a4fcfeb64290d7f62efe73cbd1835293a4d833 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 the original of the given web contents. Empty URL is returned if |
fgorski
2017/02/27 17:34:36
nit: original URL
jianli
2017/02/27 23:20:06
Done.
|
+ // no redirect occurs. |
fgorski
2017/02/27 17:34:36
nit: occurred.
jianli
2017/02/27 23:20:06
Done.
|
+ static GURL GetOriginalURLFromWebContents(content::WebContents* web_contents); |
}; |
} // namespace offline_pages |