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

Unified Diff: chrome/browser/ui/webui/history_login_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/history_login_handler.h
diff --git a/chrome/browser/ui/webui/history_login_handler.h b/chrome/browser/ui/webui/history_login_handler.h
index 790955e81897529baadbce5eb06f55d1714c3ce6..62fb4b7e83e1d44e7cba90cb971597eb2eb0c9b4 100644
--- a/chrome/browser/ui/webui/history_login_handler.h
+++ b/chrome/browser/ui/webui/history_login_handler.h
@@ -5,8 +5,9 @@
#ifndef CHROME_BROWSER_UI_WEBUI_HISTORY_LOGIN_HANDLER_H_
#define CHROME_BROWSER_UI_WEBUI_HISTORY_LOGIN_HANDLER_H_
+#include <memory>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "content/public/browser/web_ui_message_handler.h"
class ProfileInfoWatcher;
@@ -29,7 +30,7 @@ class HistoryLoginHandler : public content::WebUIMessageHandler {
// Watches this web UI's profile for info changes (e.g. authenticated username
// changes).
- scoped_ptr<ProfileInfoWatcher> profile_info_watcher_;
+ std::unique_ptr<ProfileInfoWatcher> profile_info_watcher_;
DISALLOW_COPY_AND_ASSIGN(HistoryLoginHandler);
};
« no previous file with comments | « chrome/browser/ui/webui/help/version_updater_chromeos_unittest.cc ('k') | chrome/browser/ui/webui/inspect_ui.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698