Commit 07b9104f authored by hashimoto's avatar hashimoto Committed by Commit bot

sync: Remove unused private fields

To avoid having a lot of -Wunused-private-field warnings when using "=delete" to implement DISALLOW_COPY_AND_ASSIGN.

BUG=447445

Review URL: https://codereview.chromium.org/824893004

Cr-Commit-Position: refs/heads/master@{#310766}
parent 3c766cc3
......@@ -135,8 +135,7 @@ HttpBridge::RequestContext::RequestContext(
const scoped_refptr<base::SingleThreadTaskRunner>&
network_task_runner,
const std::string& user_agent)
: baseline_context_(baseline_context),
network_task_runner_(network_task_runner),
: network_task_runner_(network_task_runner),
job_factory_(new net::URLRequestJobFactoryImpl()) {
DCHECK(!user_agent.empty());
......
......@@ -71,7 +71,6 @@ class SYNC_EXPORT_PRIVATE HttpBridge
~RequestContext() override;
private:
net::URLRequestContext* const baseline_context_;
const scoped_refptr<base::SingleThreadTaskRunner> network_task_runner_;
scoped_ptr<net::HttpUserAgentSettings> http_user_agent_settings_;
scoped_ptr<net::URLRequestJobFactory> job_factory_;
......
......@@ -138,9 +138,6 @@ class SYNC_EXPORT_PRIVATE ModelTypeRegistry
// The set of encrypted types.
ModelTypeSet encrypted_types_;
// A helper that manages cryptography state and preferences.
SyncEncryptionHandler* encryption_handler_;
// The NudgeHandler. Not owned.
NudgeHandler* nudge_handler_;
......
......@@ -159,10 +159,6 @@ class SYNC_EXPORT_PRIVATE NudgeTracker {
TypeTrackerMap type_trackers_;
STLValueDeleter<TypeTrackerMap> type_tracker_deleter_;
// Merged updates source. This should be obsolete, but the server still
// relies on it for some heuristics.
sync_pb::GetUpdatesCallerInfo::GetUpdatesSource updates_source_;
// Tracks whether or not invalidations are currently enabled.
bool invalidations_enabled_;
......@@ -177,8 +173,6 @@ class SYNC_EXPORT_PRIVATE NudgeTracker {
// enabled, then complete a sync cycle to make sure we're fully up to date.
bool invalidations_out_of_sync_;
size_t num_payloads_per_type_;
base::TimeTicks last_successful_sync_time_;
// A pending update to the current_retry_time_.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment