Index: components/reading_list/offline_url_utils.h |
diff --git a/ios/chrome/browser/reading_list/offline_url_utils.h b/components/reading_list/offline_url_utils.h |
similarity index 66% |
copy from ios/chrome/browser/reading_list/offline_url_utils.h |
copy to components/reading_list/offline_url_utils.h |
index d10345bc5b931c07ae4b24ad8c6bcf0deea01272..e818ac4a8a131ef70de3b40cf93db627f43e3742 100644 |
--- a/ios/chrome/browser/reading_list/offline_url_utils.h |
+++ b/components/reading_list/offline_url_utils.h |
@@ -2,8 +2,8 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef IOS_CHROME_BROWSER_READING_LIST_OFFLINE_URL_UTILS_H_ |
-#define IOS_CHROME_BROWSER_READING_LIST_OFFLINE_URL_UTILS_H_ |
+#ifndef COMPONENTS_READING_LIST_OFFLINE_URL_UTILS_H_ |
+#define COMPONENTS_READING_LIST_OFFLINE_URL_UTILS_H_ |
#include <string> |
@@ -41,17 +41,6 @@ base::FilePath OfflinePagePath(const GURL& url); |
// The name of the directory containing offline data for |url|. |
std::string OfflineURLDirectoryID(const GURL& url); |
-// The distilled URL chrome://offline/... that will load the file at |path|. |
-GURL DistilledURLForPath(const base::FilePath& path); |
- |
-// The file URL pointing to the local file to load to display |distilled_url|. |
-// If |resources_root_url| is not nullptr, it is set to a file URL to the |
-// directory conatining all the resources needed by |distilled_url|. |
-// |profile_path| is the path to the profile directory. |
-GURL FileURLForDistilledURL(const GURL& distilled_url, |
- const base::FilePath& profile_path, |
- GURL* resources_root_url); |
- |
} // namespace reading_list |
-#endif // IOS_CHROME_BROWSER_READING_LIST_OFFLINE_URL_UTILS_H_ |
+#endif // COMPONENTS_READING_LIST_OFFLINE_URL_UTILS_H_ |