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

Unified Diff: components/sync/engine_impl/sync_scheduler_impl_unittest.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_scheduler_impl_unittest.cc
diff --git a/components/sync/engine_impl/sync_scheduler_impl_unittest.cc b/components/sync/engine_impl/sync_scheduler_impl_unittest.cc
index 934e793e3b893d7d9d50da5ea09145bc6cb1657d..1d121a98dfa786aa5d20743f08721a417dcb6d4d 100644
--- a/components/sync/engine_impl/sync_scheduler_impl_unittest.cc
+++ b/components/sync/engine_impl/sync_scheduler_impl_unittest.cc
@@ -57,7 +57,7 @@ class MockSyncer : public Syncer {
MOCK_METHOD2(PollSyncShare, bool(ModelTypeSet, SyncCycle*));
};
-MockSyncer::MockSyncer() : Syncer(NULL) {}
+MockSyncer::MockSyncer() : Syncer(nullptr) {}
typedef std::vector<TimeTicks> SyncShareTimes;
@@ -111,7 +111,7 @@ static const size_t kMinNumSamples = 5;
class SyncSchedulerImplTest : public testing::Test {
public:
SyncSchedulerImplTest()
- : syncer_(NULL), delay_(NULL), weak_ptr_factory_(this) {}
+ : syncer_(nullptr), delay_(nullptr), weak_ptr_factory_(this) {}
class MockDelayProvider : public BackoffDelayProvider {
public:
@@ -126,7 +126,7 @@ class SyncSchedulerImplTest : public testing::Test {
void SetUp() override {
dir_maker_.SetUp();
syncer_ = new testing::StrictMock<MockSyncer>();
- delay_ = NULL;
+ delay_ = nullptr;
extensions_activity_ = new ExtensionsActivity();
routing_info_[THEMES] = GROUP_UI;
« no previous file with comments | « components/sync/engine_impl/sync_scheduler_impl.cc ('k') | components/sync/engine_impl/syncer_proto_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698