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

Unified Diff: chrome/service/cloud_print/cdd_conversion_win.h

Issue 1899083002: Convert //chrome from scoped_ptr to 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
Index: chrome/service/cloud_print/cdd_conversion_win.h
diff --git a/chrome/service/cloud_print/cdd_conversion_win.h b/chrome/service/cloud_print/cdd_conversion_win.h
index 2d6cf8e9d5b0ea4098c385ad2e8b3b2bb4f42756..c3b71a45b5296f1e7f417f5f13d9966b173ba8e7 100644
--- a/chrome/service/cloud_print/cdd_conversion_win.h
+++ b/chrome/service/cloud_print/cdd_conversion_win.h
@@ -7,17 +7,17 @@
#include <windows.h>
+#include <memory>
#include <string>
#include "base/memory/free_deleter.h"
-#include "base/memory/scoped_ptr.h"
#include "base/strings/string16.h"
namespace cloud_print {
bool IsValidCjt(const std::string& print_ticket);
-scoped_ptr<DEVMODE, base::FreeDeleter> CjtToDevMode(
+std::unique_ptr<DEVMODE, base::FreeDeleter> CjtToDevMode(
const base::string16& printer_name,
const std::string& print_ticket);
« no previous file with comments | « chrome/renderer/extensions/chrome_extensions_dispatcher_delegate.cc ('k') | chrome/service/cloud_print/cdd_conversion_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698