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

Side by Side Diff: sync/sessions/model_type_registry.h

Issue 824893004: sync: Remove unused private fields (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 unified diff | Download patch
« no previous file with comments | « sync/internal_api/public/http_bridge.h ('k') | sync/sessions/nudge_tracker.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef SYNC_ENGINE_MODEL_TYPE_REGISTRY_H_ 5 #ifndef SYNC_ENGINE_MODEL_TYPE_REGISTRY_H_
6 #define SYNC_ENGINE_MODEL_TYPE_REGISTRY_H_ 6 #define SYNC_ENGINE_MODEL_TYPE_REGISTRY_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 131
132 // The directory. Not owned. 132 // The directory. Not owned.
133 syncable::Directory* directory_; 133 syncable::Directory* directory_;
134 134
135 // A copy of the directory's most recent cryptographer. 135 // A copy of the directory's most recent cryptographer.
136 scoped_ptr<Cryptographer> cryptographer_; 136 scoped_ptr<Cryptographer> cryptographer_;
137 137
138 // The set of encrypted types. 138 // The set of encrypted types.
139 ModelTypeSet encrypted_types_; 139 ModelTypeSet encrypted_types_;
140 140
141 // A helper that manages cryptography state and preferences.
142 SyncEncryptionHandler* encryption_handler_;
143
144 // The NudgeHandler. Not owned. 141 // The NudgeHandler. Not owned.
145 NudgeHandler* nudge_handler_; 142 NudgeHandler* nudge_handler_;
146 143
147 // The set of enabled directory types. 144 // The set of enabled directory types.
148 ModelTypeSet enabled_directory_types_; 145 ModelTypeSet enabled_directory_types_;
149 146
150 // The set of observers of per-type debug info. 147 // The set of observers of per-type debug info.
151 // 148 //
152 // Each of the DirectoryTypeDebugInfoEmitters needs such a list. There's 149 // Each of the DirectoryTypeDebugInfoEmitters needs such a list. There's
153 // a lot of them, and their lifetimes are unpredictable, so it makes the 150 // a lot of them, and their lifetimes are unpredictable, so it makes the
154 // book-keeping easier if we just store the list here. That way it's 151 // book-keeping easier if we just store the list here. That way it's
155 // guaranteed to live as long as this sync backend. 152 // guaranteed to live as long as this sync backend.
156 ObserverList<TypeDebugInfoObserver> type_debug_info_observers_; 153 ObserverList<TypeDebugInfoObserver> type_debug_info_observers_;
157 154
158 base::WeakPtrFactory<ModelTypeRegistry> weak_ptr_factory_; 155 base::WeakPtrFactory<ModelTypeRegistry> weak_ptr_factory_;
159 156
160 DISALLOW_COPY_AND_ASSIGN(ModelTypeRegistry); 157 DISALLOW_COPY_AND_ASSIGN(ModelTypeRegistry);
161 }; 158 };
162 159
163 } // namespace syncer 160 } // namespace syncer
164 161
165 #endif // SYNC_ENGINE_MODEL_TYPE_REGISTRY_H_ 162 #endif // SYNC_ENGINE_MODEL_TYPE_REGISTRY_H_
OLDNEW
« no previous file with comments | « sync/internal_api/public/http_bridge.h ('k') | sync/sessions/nudge_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698