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

Unified Diff: chrome/browser/ui/webui/print_preview/printer_handler.h

Issue 1865213004: Convert //chrome/browser/ui 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: chrome/browser/ui/webui/print_preview/printer_handler.h
diff --git a/chrome/browser/ui/webui/print_preview/printer_handler.h b/chrome/browser/ui/webui/print_preview/printer_handler.h
index ad49469f325c0ecc98c32b11034a199ccf7d95f1..ccf12af9e2bea4481617f14617efda6bf89c0dfc 100644
--- a/chrome/browser/ui/webui/print_preview/printer_handler.h
+++ b/chrome/browser/ui/webui/print_preview/printer_handler.h
@@ -5,11 +5,11 @@
#ifndef CHROME_BROWSER_UI_WEBUI_PRINT_PREVIEW_PRINTER_HANDLER_H_
#define CHROME_BROWSER_UI_WEBUI_PRINT_PREVIEW_PRINTER_HANDLER_H_
+#include <memory>
#include <string>
#include "base/callback.h"
#include "base/memory/ref_counted.h"
-#include "base/memory/scoped_ptr.h"
#include "base/strings/string16.h"
namespace base {
@@ -43,7 +43,7 @@ class PrinterHandler {
base::Callback<void(const base::DictionaryValue& printer_info)>;
// Creates an instance of an PrinterHandler for extension printers.
- static scoped_ptr<PrinterHandler> CreateForExtensionPrinters(
+ static std::unique_ptr<PrinterHandler> CreateForExtensionPrinters(
content::BrowserContext* browser_context);
virtual ~PrinterHandler() {}

Powered by Google App Engine
This is Rietveld 408576698