diff options
Diffstat (limited to 'www/chromium-uc/patches/extra/ungoogled-chromium/add-flag-to-disable-local-history-expiration.patch')
| -rw-r--r-- | www/chromium-uc/patches/extra/ungoogled-chromium/add-flag-to-disable-local-history-expiration.patch | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/www/chromium-uc/patches/extra/ungoogled-chromium/add-flag-to-disable-local-history-expiration.patch b/www/chromium-uc/patches/extra/ungoogled-chromium/add-flag-to-disable-local-history-expiration.patch index 090432a..a07ec40 100644 --- a/www/chromium-uc/patches/extra/ungoogled-chromium/add-flag-to-disable-local-history-expiration.patch +++ b/www/chromium-uc/patches/extra/ungoogled-chromium/add-flag-to-disable-local-history-expiration.patch | |||
| @@ -1,8 +1,8 @@ | |||
| 1 | # Keep local history longer than 90 days | 1 | # Keep local history longer than 90 days |
| 2 | 2 | ||
| 3 | --- chrome/browser/ungoogled_flag_entries.h.orig | 3 | --- a/chrome/browser/ungoogled_flag_entries.h |
| 4 | +++ chrome/browser/ungoogled_flag_entries.h | 4 | +++ b/chrome/browser/ungoogled_flag_entries.h |
| 5 | @@ -60,4 +60,8 @@ | 5 | @@ -52,4 +52,8 @@ |
| 6 | "Popups to tabs", | 6 | "Popups to tabs", |
| 7 | "Makes popups open in new tabs. ungoogled-chromium flag", | 7 | "Makes popups open in new tabs. ungoogled-chromium flag", |
| 8 | kOsAll, SINGLE_VALUE_TYPE("popups-to-tabs")}, | 8 | kOsAll, SINGLE_VALUE_TYPE("popups-to-tabs")}, |
| @@ -11,8 +11,8 @@ | |||
| 11 | + "Keep history older than 3 months. ungoogled-chromium flag", | 11 | + "Keep history older than 3 months. ungoogled-chromium flag", |
| 12 | + kOsAll, SINGLE_VALUE_TYPE("keep-old-history")}, | 12 | + kOsAll, SINGLE_VALUE_TYPE("keep-old-history")}, |
| 13 | #endif // CHROME_BROWSER_UNGOOGLED_FLAG_ENTRIES_H_ | 13 | #endif // CHROME_BROWSER_UNGOOGLED_FLAG_ENTRIES_H_ |
| 14 | --- components/history/core/browser/history_backend.cc.orig | 14 | --- a/components/history/core/browser/history_backend.cc |
| 15 | +++ components/history/core/browser/history_backend.cc | 15 | +++ b/components/history/core/browser/history_backend.cc |
| 16 | @@ -15,6 +15,7 @@ | 16 | @@ -15,6 +15,7 @@ |
| 17 | #include <vector> | 17 | #include <vector> |
| 18 | 18 | ||
| @@ -21,7 +21,7 @@ | |||
| 21 | #include "base/callback_helpers.h" | 21 | #include "base/callback_helpers.h" |
| 22 | #include "base/compiler_specific.h" | 22 | #include "base/compiler_specific.h" |
| 23 | #include "base/containers/flat_set.h" | 23 | #include "base/containers/flat_set.h" |
| 24 | @@ -911,7 +912,8 @@ void HistoryBackend::InitImpl( | 24 | @@ -979,7 +980,8 @@ void HistoryBackend::InitImpl( |
| 25 | db_->GetStartDate(&first_recorded_time_); | 25 | db_->GetStartDate(&first_recorded_time_); |
| 26 | 26 | ||
| 27 | // Start expiring old stuff. | 27 | // Start expiring old stuff. |
