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

Unified Diff: components/dom_distiller/core/article_attachments_data.h

Issue 1879613003: Convert //components/dom_distiller from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 8 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/dom_distiller/core/article_attachments_data.h
diff --git a/components/dom_distiller/core/article_attachments_data.h b/components/dom_distiller/core/article_attachments_data.h
index c25df29bf9a66d725388172dc5d36a50f4e3fd66..d5410c29700c6fd8171883ea45042dccda9b7450 100644
--- a/components/dom_distiller/core/article_attachments_data.h
+++ b/components/dom_distiller/core/article_attachments_data.h
@@ -5,9 +5,9 @@
#ifndef COMPONENTS_DOM_DISTILLER_CORE_ARTICLE_ATTACHMENTS_DATA_H_
#define COMPONENTS_DOM_DISTILLER_CORE_ARTICLE_ATTACHMENTS_DATA_H_
+#include <memory>
#include <string>
-#include "base/memory/scoped_ptr.h"
#include "components/dom_distiller/core/proto/distilled_article.pb.h"
#include "sync/api/attachments/attachment.h"
#include "sync/protocol/article_specifics.pb.h"
@@ -24,7 +24,7 @@ namespace dom_distiller {
// be rather opaque.
class ArticleAttachmentsData {
public:
- static scoped_ptr<ArticleAttachmentsData> GetFromAttachmentMap(
+ static std::unique_ptr<ArticleAttachmentsData> GetFromAttachmentMap(
const sync_pb::ArticleAttachments& attachments_key,
const syncer::AttachmentMap& attachment_map);

Powered by Google App Engine
This is Rietveld 408576698