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

Unified Diff: components/reading_list/offline_url_utils.h

Issue 2511723002: Enable RL sync by default on iOS (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
Index: components/reading_list/offline_url_utils.h
diff --git a/components/reading_list/offline_url_utils.h b/components/reading_list/offline_url_utils.h
deleted file mode 100644
index e818ac4a8a131ef70de3b40cf93db627f43e3742..0000000000000000000000000000000000000000
--- a/components/reading_list/offline_url_utils.h
+++ /dev/null
@@ -1,46 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef COMPONENTS_READING_LIST_OFFLINE_URL_UTILS_H_
-#define COMPONENTS_READING_LIST_OFFLINE_URL_UTILS_H_
-
-#include <string>
-
-#include "base/files/file_path.h"
-#include "url/gurl.h"
-
-namespace reading_list {
-
-// The absolute path of the directory where offline URLs are saved.
-// |profile_path| is the path to the profile directory that contain the offline
-// directory.
-base::FilePath OfflineRootDirectoryPath(const base::FilePath& profile_path);
-
-// The absolute path of the directory where a |url| is saved offline.
-// Contains the page and supporting files (images).
-// |profile_path| is the path to the profile directory that contain the offline
-// directory.
-// The directory may not exist.
-base::FilePath OfflineURLDirectoryAbsolutePath(
- const base::FilePath& profile_path,
- const GURL& url);
-
-// The absolute path of the offline webpage for the |url|. The file may not
-// exist.
-// |profile_path| is the path to the profile directory that contain the offline
-// directory.
-base::FilePath OfflinePageAbsolutePath(const base::FilePath& profile_path,
- const GURL& url);
-
-// The relative path to the offline webpage for the |url|. The result is
-// relative to |OfflineRootDirectoryPath()|.
-// The file may not exist.
-base::FilePath OfflinePagePath(const GURL& url);
-
-// The name of the directory containing offline data for |url|.
-std::string OfflineURLDirectoryID(const GURL& url);
-
-} // namespace reading_list
-
-#endif // COMPONENTS_READING_LIST_OFFLINE_URL_UTILS_H_
« no previous file with comments | « components/reading_list/ios/reading_list_store_unittest.mm ('k') | components/reading_list/offline_url_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698