Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(63)

Unified Diff: components/reading_list/offline_url_utils.h

Issue 2514333003: Componentize Reading List (Closed)
Patch Set: rebase Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/reading_list/OWNERS ('k') | components/reading_list/offline_url_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « components/reading_list/OWNERS ('k') | components/reading_list/offline_url_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698