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

Unified Diff: chrome/browser/sync/profile_sync_service.cc

Issue 10698095: Add dummy implementation of about_flags for Android. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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/sync/profile_sync_service.cc
diff --git a/chrome/browser/sync/profile_sync_service.cc b/chrome/browser/sync/profile_sync_service.cc
index 0f70f0b57cd819299182735d3134d1af8311d207..b9b7c091c4cd8f5555af0aa363cdd2d08f0e045e 100644
--- a/chrome/browser/sync/profile_sync_service.cc
+++ b/chrome/browser/sync/profile_sync_service.cc
@@ -737,7 +737,6 @@ void ProfileSyncService::OnExperimentsChanged(
// Received notice to enable experimental type. Check if the type is
// registered, and if not register a new datatype controller.
RegisterNewDataType(it.Get());
-#if !defined(OS_ANDROID)
// Enable the about:flags switch for the experimental type so we don't have
// to always perform this reconfiguration. Once we set this, the type will
// remain registered on restart, so we will no longer go down this code
@@ -748,7 +747,6 @@ void ProfileSyncService::OnExperimentsChanged(
about_flags::SetExperimentEnabled(g_browser_process->local_state(),
experiment_name,
true);
-#endif // !defined(OS_ANDROID)
}
// Check if the user has "Keep Everything Synced" enabled. If so, we want

Powered by Google App Engine
This is Rietveld 408576698