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

Unified Diff: chrome/browser/profiles/profile.cc

Issue 2639463002: Add a pref name for share targets, and store their manifest data. (Closed)
Patch Set: Added tests. Created 3 years, 11 months 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
Index: chrome/browser/profiles/profile.cc
diff --git a/chrome/browser/profiles/profile.cc b/chrome/browser/profiles/profile.cc
index c8f14b2eb5917e9edbe9670540c927207e106e72..438639bed5f9ca2c261befc036c9e6cd6d9c9334 100644
--- a/chrome/browser/profiles/profile.cc
+++ b/chrome/browser/profiles/profile.cc
@@ -176,6 +176,10 @@ void Profile::RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry) {
#if defined(OS_CHROMEOS)
registry->RegisterBooleanPref(prefs::kAllowScreenLock, true);
#endif
+
+#if defined(OS_WIN) || defined(OS_LINUX)
Matt Giuca 2017/01/23 03:00:57 I don't think this OS check is appropriate. If we
constantina 2017/01/24 02:03:42 Done.
+ registry->RegisterDictionaryPref(prefs::kWebShareVisitedTargets);
+#endif
}
std::string Profile::GetDebugName() {

Powered by Google App Engine
This is Rietveld 408576698