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

Unified Diff: components/sync/model_impl/attachments/attachment_service_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/model_impl/attachments/attachment_service_impl_unittest.cc
diff --git a/components/sync/model_impl/attachments/attachment_service_impl_unittest.cc b/components/sync/model_impl/attachments/attachment_service_impl_unittest.cc
index 446a6a9865590ef45b5172be2229d6f543490ad3..e9cc8a95b029d18c2a38786638290228b8f412c0 100644
--- a/components/sync/model_impl/attachments/attachment_service_impl_unittest.cc
+++ b/components/sync/model_impl/attachments/attachment_service_impl_unittest.cc
@@ -427,7 +427,7 @@ TEST_F(AttachmentServiceImplTest, GetOrDownload_NoDownloader) {
// No downloader.
InitializeAttachmentService(
base::WrapUnique<MockAttachmentUploader>(new MockAttachmentUploader()),
- base::WrapUnique<MockAttachmentDownloader>(NULL), this);
+ base::WrapUnique<MockAttachmentDownloader>(nullptr), this);
AttachmentIdList attachment_ids;
attachment_ids.push_back(AttachmentId::Create(0, 0));
@@ -481,7 +481,7 @@ TEST_F(AttachmentServiceImplTest, UploadAttachments_Success) {
TEST_F(AttachmentServiceImplTest, UploadAttachments_Success_NoDelegate) {
InitializeAttachmentService(base::MakeUnique<MockAttachmentUploader>(),
base::MakeUnique<MockAttachmentDownloader>(),
- NULL); // No delegate.
+ nullptr); // No delegate.
AttachmentIdList attachment_ids;
attachment_ids.push_back(AttachmentId::Create(0, 0));
@@ -549,7 +549,7 @@ TEST_F(AttachmentServiceImplTest, UploadAttachments_AllMissingFromStore) {
}
TEST_F(AttachmentServiceImplTest, UploadAttachments_NoUploader) {
- InitializeAttachmentService(base::WrapUnique<MockAttachmentUploader>(NULL),
+ InitializeAttachmentService(base::WrapUnique<MockAttachmentUploader>(nullptr),
base::MakeUnique<MockAttachmentDownloader>(),
this);

Powered by Google App Engine
This is Rietveld 408576698