Index: components/dom_distiller/core/url_utils.h |
diff --git a/components/dom_distiller/core/url_utils.h b/components/dom_distiller/core/url_utils.h |
index 71a7d5ce87a77debd76d2178f5d1478f39bee0af..8f6593617a65f46cbf83210a8fbf1f3a70a4cd1a 100644 |
--- a/components/dom_distiller/core/url_utils.h |
+++ b/components/dom_distiller/core/url_utils.h |
@@ -19,12 +19,17 @@ const GURL GetDistillerViewUrlFromEntryId(const std::string& scheme, |
// Returns the URL for viewing distilled content for a URL. |
const GURL GetDistillerViewUrlFromUrl(const std::string& scheme, |
- const GURL& view_url); |
+ const GURL& view_url, |
+ int64_t start_time_ms = 0); |
// Returns the original URL from the distilled URL. |
// If the URL is not distilled, it is returned as is. |
const GURL GetOriginalUrlFromDistillerUrl(const GURL& distilled_url); |
+// Returns the starting time from the distilled URL. |
+// Returns 0 when not available or on error. |
+int64_t GetTimeFromDistillerUrl(const GURL& url); |
+ |
// Returns the value of the query parameter for the given |key| for a given URL. |
// If the URL is invalid or if the key is not found, returns an empty string. |
// If there are multiple keys found in the URL, returns the value for the first |