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

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

Issue 919383002: Remove some dead code about "acknowledged types" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 10 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
« no previous file with comments | « chrome/browser/sync/profile_sync_service.h ('k') | components/sync_driver/pref_names.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 36fa5d3c42bc39117e0698ea71270e35a79d0b38..515672e37f15da21b47866b793c4a66555fef7c0 100644
--- a/chrome/browser/sync/profile_sync_service.cc
+++ b/chrome/browser/sync/profile_sync_service.cc
@@ -1814,7 +1814,6 @@ void ProfileSyncService::OnUserChoseDatatypes(
if (directory_data_type_manager_.get())
directory_data_type_manager_->ResetDataTypeErrors();
ChangePreferredDataTypes(chosen_types);
- AcknowledgeSyncedTypes();
}
void ProfileSyncService::ChangePreferredDataTypes(
@@ -2504,10 +2503,6 @@ void ProfileSyncService::UnsuppressAndStart() {
startup_controller_->TryStart();
}
-void ProfileSyncService::AcknowledgeSyncedTypes() {
- sync_prefs_.AcknowledgeSyncedTypes(GetRegisteredDataTypes());
-}
-
void ProfileSyncService::ReconfigureDatatypeManager() {
// If we haven't initialized yet, don't configure the DTM as it could cause
// association to start before a Directory has even been created.
« no previous file with comments | « chrome/browser/sync/profile_sync_service.h ('k') | components/sync_driver/pref_names.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698