Commit 6aadbd46 authored by Ramin Halavati's avatar Ramin Halavati Committed by Commit Bot

Move Bookmarks preferences to incognito persistent whitelist.

Preferences related to bookmarks are moved to the incognito persistent
storage list.
This CL does not change the current behavior.

Bug: 861722
Change-Id: I03e11cf0a2bb84872db4b96443b9d1d0db4002f5
Reviewed-on: https://chromium-review.googlesource.com/1166830Reviewed-by: default avatarMartin Šrámek <msramek@chromium.org>
Commit-Queue: Ramin Halavati <rhalavati@chromium.org>
Cr-Commit-Position: refs/heads/master@{#581505}
parent 2ddc03b8
...@@ -87,6 +87,15 @@ const char* persistent_pref_names[] = { ...@@ -87,6 +87,15 @@ const char* persistent_pref_names[] = {
ash::prefs::kShouldAlwaysShowAccessibilityMenu, ash::prefs::kShouldAlwaysShowAccessibilityMenu,
#endif // defined(OS_CHROMEOS) #endif // defined(OS_CHROMEOS)
// Bookmark preferences are common between incognito and regular mode.
bookmarks::prefs::kBookmarkEditorExpandedNodes,
bookmarks::prefs::kEditBookmarksEnabled,
bookmarks::prefs::kManagedBookmarks,
bookmarks::prefs::kManagedBookmarksFolderName,
bookmarks::prefs::kShowAppsShortcutInBookmarkBar,
bookmarks::prefs::kShowManagedBookmarksInBookmarkBar,
bookmarks::prefs::kShowBookmarkBar,
// Metrics preferences are out of profile scope and are merged between // Metrics preferences are out of profile scope and are merged between
// incognito and regular modes. // incognito and regular modes.
metrics::prefs::kInstallDate, metrics::prefs::kMetricsClientID, metrics::prefs::kInstallDate, metrics::prefs::kMetricsClientID,
...@@ -764,15 +773,6 @@ const char* temporary_incognito_whitelist[] = { ...@@ -764,15 +773,6 @@ const char* temporary_incognito_whitelist[] = {
chromeos::prefs::kQuirksClientLastServerCheck, chromeos::prefs::kQuirksClientLastServerCheck,
#endif // defined(OS_CHROMEOS) #endif // defined(OS_CHROMEOS)
// components/bookmarks/common/bookmark_pref_names.h
bookmarks::prefs::kBookmarkEditorExpandedNodes,
bookmarks::prefs::kEditBookmarksEnabled,
bookmarks::prefs::kManagedBookmarks,
bookmarks::prefs::kManagedBookmarksFolderName,
bookmarks::prefs::kShowAppsShortcutInBookmarkBar,
bookmarks::prefs::kShowManagedBookmarksInBookmarkBar,
bookmarks::prefs::kShowBookmarkBar,
// components/certificate_transparency/pref_names.h // components/certificate_transparency/pref_names.h
certificate_transparency::prefs::kCTRequiredHosts, certificate_transparency::prefs::kCTRequiredHosts,
certificate_transparency::prefs::kCTExcludedHosts, certificate_transparency::prefs::kCTExcludedHosts,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment