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

Unified Diff: chrome/browser/ui/webui/app_launcher_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
« no previous file with comments | « chrome/browser/ui/webui/about_ui.cc ('k') | chrome/browser/ui/webui/app_launcher_page_ui.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/app_launcher_login_handler.h
diff --git a/chrome/browser/ui/webui/app_launcher_login_handler.h b/chrome/browser/ui/webui/app_launcher_login_handler.h
index ea2b0e74b55b976496e08d99af8594d9a49789a2..53268cc314463d0765707dcbddc02a1ef099fd5a 100644
--- a/chrome/browser/ui/webui/app_launcher_login_handler.h
+++ b/chrome/browser/ui/webui/app_launcher_login_handler.h
@@ -5,8 +5,9 @@
#ifndef CHROME_BROWSER_UI_WEBUI_APP_LAUNCHER_LOGIN_HANDLER_H_
#define CHROME_BROWSER_UI_WEBUI_APP_LAUNCHER_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 Profile;
@@ -65,7 +66,7 @@ class AppLauncherLoginHandler : 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(AppLauncherLoginHandler);
};
« no previous file with comments | « chrome/browser/ui/webui/about_ui.cc ('k') | chrome/browser/ui/webui/app_launcher_page_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698