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

Unified Diff: chrome/browser/ui/webui/print_preview/sticky_settings.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/sticky_settings.h
diff --git a/chrome/browser/ui/webui/print_preview/sticky_settings.h b/chrome/browser/ui/webui/print_preview/sticky_settings.h
index ef462b3af1818f0ac0fbf822648d2c5ba012c9f1..59497f0267fa3daeda619289bd2d408db7e181f6 100644
--- a/chrome/browser/ui/webui/print_preview/sticky_settings.h
+++ b/chrome/browser/ui/webui/print_preview/sticky_settings.h
@@ -5,9 +5,9 @@
#ifndef CHROME_BROWSER_UI_WEBUI_PRINT_PREVIEW_STICKY_SETTINGS_H_
#define CHROME_BROWSER_UI_WEBUI_PRINT_PREVIEW_STICKY_SETTINGS_H_
+#include <memory>
#include <string>
-#include "base/memory/scoped_ptr.h"
#include "printing/print_job_constants.h"
class PrefService;
@@ -44,8 +44,8 @@ class StickySettings {
static void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry);
private:
- scoped_ptr<base::FilePath> save_path_;
- scoped_ptr<std::string> printer_app_state_;
+ std::unique_ptr<base::FilePath> save_path_;
+ std::unique_ptr<std::string> printer_app_state_;
};
} // namespace printing
« no previous file with comments | « chrome/browser/ui/webui/print_preview/printer_handler.cc ('k') | chrome/browser/ui/webui/print_preview/sticky_settings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698