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

Unified Diff: chrome/browser/ui/login/login_handler.h

Issue 1866243002: Convert //sync from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and fix conflicts 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/login/login_handler.h
diff --git a/chrome/browser/ui/login/login_handler.h b/chrome/browser/ui/login/login_handler.h
index fe0dc063eb536140088e2148218564ab744a049d..9e66547bd99179298af24b3f91b64d4b68f6113e 100644
--- a/chrome/browser/ui/login/login_handler.h
+++ b/chrome/browser/ui/login/login_handler.h
@@ -5,6 +5,7 @@
#ifndef CHROME_BROWSER_UI_LOGIN_LOGIN_HANDLER_H_
#define CHROME_BROWSER_UI_LOGIN_LOGIN_HANDLER_H_
+#include <memory>
#include <string>
#include "base/macros.h"
@@ -198,7 +199,7 @@ class LoginHandler : public content::ResourceDispatcherHostLoginDelegate,
// Observes other login handlers so this login handler can respond.
// This is only accessed on the UI thread.
- scoped_ptr<content::NotificationRegistrar> registrar_;
+ std::unique_ptr<content::NotificationRegistrar> registrar_;
base::WeakPtr<LoginInterstitialDelegate> interstitial_delegate_;
};
« no previous file with comments | « chrome/browser/themes/theme_syncable_service.h ('k') | components/dom_distiller/core/distilled_content_store.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698