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

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

Issue 2613033003: Remove some PrefMembers from ProfileIOData that are no longer used. (Closed)
Patch Set: oops 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
« no previous file with comments | « chrome/browser/profiles/profile_io_data.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profiles/profile_io_data.cc
diff --git a/chrome/browser/profiles/profile_io_data.cc b/chrome/browser/profiles/profile_io_data.cc
index f5acaf6aa25e5c973a439269282e438a6bb3eeb9..014b3bcc6016e68543eb010cc4a0d781813ab222 100644
--- a/chrome/browser/profiles/profile_io_data.cc
+++ b/chrome/browser/profiles/profile_io_data.cc
@@ -74,7 +74,6 @@
#include "components/policy/core/common/cloud/user_cloud_policy_manager.h"
#include "components/prefs/pref_service.h"
#include "components/signin/core/common/signin_pref_names.h"
-#include "components/sync/base/pref_names.h"
#include "components/url_formatter/url_fixer.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/host_zoom_map.h"
@@ -482,12 +481,6 @@ void ProfileIOData::InitializeOnUIThread(Profile* profile) {
google_services_user_account_id_.Init(
prefs::kGoogleServicesUserAccountId, pref_service);
google_services_user_account_id_.MoveToThread(io_task_runner);
-
- sync_disabled_.Init(syncer::prefs::kSyncManaged, pref_service);
- sync_disabled_.MoveToThread(io_task_runner);
-
- signin_allowed_.Init(prefs::kSigninAllowed, pref_service);
- signin_allowed_.MoveToThread(io_task_runner);
}
if (!IsOffTheRecord())
@@ -1223,12 +1216,9 @@ void ProfileIOData::ShutdownOnUIThread(
allowed_domains_for_apps_.Destroy();
enable_metrics_.Destroy();
safe_browsing_enabled_.Destroy();
- sync_disabled_.Destroy();
- signin_allowed_.Destroy();
network_prediction_options_.Destroy();
if (media_device_id_salt_.get())
media_device_id_salt_->ShutdownOnUIThread();
- session_startup_pref_.Destroy();
if (url_blacklist_manager_)
url_blacklist_manager_->ShutdownOnUIThread();
if (ct_policy_manager_)
« no previous file with comments | « chrome/browser/profiles/profile_io_data.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698