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

Unified Diff: ios/chrome/browser/reading_list/url_downloader.cc

Issue 2507703002: Make offline directory name public. (Closed)
Patch Set: add an S 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 | « ios/chrome/browser/reading_list/url_downloader.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/reading_list/url_downloader.cc
diff --git a/ios/chrome/browser/reading_list/url_downloader.cc b/ios/chrome/browser/reading_list/url_downloader.cc
index 6ccfe3eb861082abc8c48cff26babca90120db9f..b986c7fa12749119db6321267e7e130486470f58 100644
--- a/ios/chrome/browser/reading_list/url_downloader.cc
+++ b/ios/chrome/browser/reading_list/url_downloader.cc
@@ -18,9 +18,7 @@
#include "net/base/escape.h"
#include "url/gurl.h"
-namespace {
-char const kOfflineDirectory[] = "Offline";
-} // namespace
+const char kReadingListOfflineDirectory[] = "Offline";
// URLDownloader
@@ -176,7 +174,8 @@ URLDownloader::SuccessState URLDownloader::SaveDistilledHTML(
}
base::FilePath URLDownloader::OfflineRootDirectoryPath() {
- return base_directory_.Append(FILE_PATH_LITERAL(kOfflineDirectory));
+ return base_directory_.Append(
+ FILE_PATH_LITERAL(kReadingListOfflineDirectory));
}
std::string URLDownloader::OfflineURLDirectoryID(const GURL& url) {
« no previous file with comments | « ios/chrome/browser/reading_list/url_downloader.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698