-
Notifications
You must be signed in to change notification settings - Fork 900
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Register brave_sync pref with chromium sync
- Loading branch information
Showing
4 changed files
with
14 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#include "brave/components/brave_sync/brave_sync_prefs.h" | ||
#include "../../../../components/sync/base/sync_prefs.cc" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
diff --git a/components/sync/base/sync_prefs.cc b/components/sync/base/sync_prefs.cc | ||
index e0233e2c1fe41e7aca1514321881a9defe99e11f..8331c1add5cbc209023cfb938b11ef8c564e2b90 100644 | ||
--- a/components/sync/base/sync_prefs.cc | ||
+++ b/components/sync/base/sync_prefs.cc | ||
@@ -186,6 +186,7 @@ void SyncPrefs::RegisterProfilePrefs( | ||
#if defined(OS_CHROMEOS) | ||
registry->RegisterStringPref(kSyncSpareBootstrapToken, ""); | ||
#endif | ||
+ brave_sync::prefs::Prefs::RegisterProfilePrefs(registry); | ||
} | ||
|
||
void SyncPrefs::AddSyncPrefObserver(SyncPrefObserver* sync_pref_observer) { |