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

Side by Side Diff: components/sync/driver/glue/sync_backend_host_core.h

Issue 2427803002: [Sync] Replacing NULL with nullptr in code and null in comments for components/sync/ (Closed)
Patch Set: Fixing start of sentence capitlization. Created 4 years, 2 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 COMPONENTS_SYNC_DRIVER_GLUE_SYNC_BACKEND_HOST_CORE_H_ 5 #ifndef COMPONENTS_SYNC_DRIVER_GLUE_SYNC_BACKEND_HOST_CORE_H_
6 #define COMPONENTS_SYNC_DRIVER_GLUE_SYNC_BACKEND_HOST_CORE_H_ 6 #define COMPONENTS_SYNC_DRIVER_GLUE_SYNC_BACKEND_HOST_CORE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 // Name used for debugging. 261 // Name used for debugging.
262 const std::string name_; 262 const std::string name_;
263 263
264 // Path of the folder that stores the sync data files. 264 // Path of the folder that stores the sync data files.
265 const base::FilePath sync_data_folder_path_; 265 const base::FilePath sync_data_folder_path_;
266 266
267 // Our parent SyncBackendHost. 267 // Our parent SyncBackendHost.
268 WeakHandle<SyncBackendHostImpl> host_; 268 WeakHandle<SyncBackendHostImpl> host_;
269 269
270 // The loop where all the sync backend operations happen. 270 // The loop where all the sync backend operations happen.
271 // Non-NULL only between calls to DoInitialize() and ~Core(). 271 // Non-null only between calls to DoInitialize() and ~Core().
272 base::MessageLoop* sync_loop_; 272 base::MessageLoop* sync_loop_;
273 273
274 // Our parent's registrar (not owned). Non-NULL only between 274 // Our parent's registrar (not owned). Non-null only between
275 // calls to DoInitialize() and DoShutdown(). 275 // calls to DoInitialize() and DoShutdown().
276 SyncBackendRegistrar* registrar_; 276 SyncBackendRegistrar* registrar_;
277 277
278 // The timer used to periodically call SaveChanges. 278 // The timer used to periodically call SaveChanges.
279 std::unique_ptr<base::RepeatingTimer> save_changes_timer_; 279 std::unique_ptr<base::RepeatingTimer> save_changes_timer_;
280 280
281 // Our encryptor, which uses Chrome's encryption functions. 281 // Our encryptor, which uses Chrome's encryption functions.
282 SystemEncryptor encryptor_; 282 SystemEncryptor encryptor_;
283 283
284 // The top-level syncapi entry point. Lives on the sync thread. 284 // The top-level syncapi entry point. Lives on the sync thread.
(...skipping 30 matching lines...) Expand all
315 std::map<ModelType, int64_t> last_invalidation_versions_; 315 std::map<ModelType, int64_t> last_invalidation_versions_;
316 316
317 base::WeakPtrFactory<SyncBackendHostCore> weak_ptr_factory_; 317 base::WeakPtrFactory<SyncBackendHostCore> weak_ptr_factory_;
318 318
319 DISALLOW_COPY_AND_ASSIGN(SyncBackendHostCore); 319 DISALLOW_COPY_AND_ASSIGN(SyncBackendHostCore);
320 }; 320 };
321 321
322 } // namespace syncer 322 } // namespace syncer
323 323
324 #endif // COMPONENTS_SYNC_DRIVER_GLUE_SYNC_BACKEND_HOST_CORE_H_ 324 #endif // COMPONENTS_SYNC_DRIVER_GLUE_SYNC_BACKEND_HOST_CORE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698