summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgab <gab@chromium.org>2015-07-27 08:56:11 -0700
committerCommit bot <commit-bot@chromium.org>2015-07-27 15:56:47 +0000
commit5bfe0b4c88575acf2ad5e26c16f00b867ef4899a (patch)
tree8d18c128f72da6be96825c13964f066b725c899e
parent55b1b93c7fa33f4fa59435908edba5daa015df2b (diff)
downloadchromium_src-5bfe0b4c88575acf2ad5e26c16f00b867ef4899a.zip
chromium_src-5bfe0b4c88575acf2ad5e26c16f00b867ef4899a.tar.gz
chromium_src-5bfe0b4c88575acf2ad5e26c16f00b867ef4899a.tar.bz2
Update definition of tracked preference support.
BUG=507660 (ref. discussion @ https://codereview.chromium.org/1227973003/#msg20) Review URL: https://codereview.chromium.org/1253393003 Cr-Commit-Position: refs/heads/master@{#340474}
-rw-r--r--chrome/browser/prefs/profile_pref_store_manager.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/chrome/browser/prefs/profile_pref_store_manager.cc b/chrome/browser/prefs/profile_pref_store_manager.cc
index b15a271..f08d102 100644
--- a/chrome/browser/prefs/profile_pref_store_manager.cc
+++ b/chrome/browser/prefs/profile_pref_store_manager.cc
@@ -34,11 +34,10 @@ void RemoveValueSilently(const base::WeakPtr<JsonPrefStore> pref_store,
} // namespace
-// TODO(erikwright): Enable this on Chrome OS and Android once MACs are moved
-// out of Local State. This will resolve a race condition on Android and a
-// privacy issue on ChromeOS. http://crbug.com/349158
+// Preference tracking and protection is not required on platforms where other
+// apps do not have access to chrome's persistent storage.
const bool ProfilePrefStoreManager::kPlatformSupportsPreferenceTracking =
-#if defined(OS_ANDROID) || defined(OS_CHROMEOS)
+#if defined(OS_ANDROID) || defined(OS_CHROMEOS) || defined(OS_IOS)
false;
#else
true;