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

Unified Diff: components/sync/engine_impl/sync_manager_impl.cc

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 side-by-side diff with in-line comments
Download patch
Index: components/sync/engine_impl/sync_manager_impl.cc
diff --git a/components/sync/engine_impl/sync_manager_impl.cc b/components/sync/engine_impl/sync_manager_impl.cc
index a41524f2073256ed18e37a02185e62965a1c381e..6a6b6be47af77cb933e81dc0724ba6d5b1d49e3a 100644
--- a/components/sync/engine_impl/sync_manager_impl.cc
+++ b/components/sync/engine_impl/sync_manager_impl.cc
@@ -84,7 +84,7 @@ GetUpdatesCallerInfo::GetUpdatesSource GetSourceFromReason(
SyncManagerImpl::SyncManagerImpl(const std::string& name)
: name_(name),
- change_delegate_(NULL),
+ change_delegate_(nullptr),
initialized_(false),
observing_network_connectivity_changes_(false),
weak_ptr_factory_(this) {
@@ -525,7 +525,7 @@ void SyncManagerImpl::ShutdownOnSyncThread(ShutdownReason reason) {
RemoveObserver(&debug_info_event_listener_);
- // |connection_manager_| may end up being NULL here in tests (in synchronous
+ // |connection_manager_| may end up being null here in tests (in synchronous
// initialization mode).
//
// TODO(akalin): Fix this behavior.
@@ -543,7 +543,7 @@ void SyncManagerImpl::ShutdownOnSyncThread(ShutdownReason reason) {
share_.directory.reset();
- change_delegate_ = NULL;
+ change_delegate_ = nullptr;
initialized_ = false;

Powered by Google App Engine
This is Rietveld 408576698