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

Unified Diff: printing/printing_context.h

Issue 1863223002: Convert //printing to use std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « printing/printed_page_unittest.cc ('k') | printing/printing_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: printing/printing_context.h
diff --git a/printing/printing_context.h b/printing/printing_context.h
index be671ba54949a8f717ec40432a1929320688f6c0..9f9638487d398a84b6f6468fec248c3a3ea8eac3 100644
--- a/printing/printing_context.h
+++ b/printing/printing_context.h
@@ -5,11 +5,11 @@
#ifndef PRINTING_PRINTING_CONTEXT_H_
#define PRINTING_PRINTING_CONTEXT_H_
+#include <memory>
#include <string>
#include "base/callback.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/strings/string16.h"
#include "printing/print_settings.h"
#include "ui/gfx/native_widget_types.h"
@@ -118,7 +118,7 @@ class PRINTING_EXPORT PrintingContext {
// Creates an instance of this object. Implementers of this interface should
// implement this method to create an object of their implementation.
- static scoped_ptr<PrintingContext> Create(Delegate* delegate);
+ static std::unique_ptr<PrintingContext> Create(Delegate* delegate);
void set_margin_type(MarginType type);
« no previous file with comments | « printing/printed_page_unittest.cc ('k') | printing/printing_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698