Skip to content
This repository has been archived by the owner on Jan 4, 2019. It is now read-only.

Commit

Permalink
add overlay prefs for private profiles
Browse files Browse the repository at this point in the history
  • Loading branch information
bridiver committed Sep 8, 2016
1 parent 566355a commit b956fa5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions brave/browser/brave_browser_context.cc
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,9 @@ void BraveBrowserContext::RegisterPrefs(PrefRegistrySimple* pref_registry) {
bool async = false;

if (IsOffTheRecord()) {
overlay_pref_names_.push_back("app_state");
overlay_pref_names_.push_back("content_settings");
overlay_pref_names_.push_back(prefs::kPartitionPerHostZoomLevels);
user_prefs_.reset(
original_context()->user_prefs()->CreateIncognitoPrefService(
extension_prefs, overlay_pref_names_));
Expand Down

0 comments on commit b956fa5

Please sign in to comment.