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

Unified Diff: chrome/browser/chromeos/policy/wildcard_login_checker.h

Issue 1870793002: Convert //chrome/browser/chromeos 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/chromeos/policy/wildcard_login_checker.h
diff --git a/chrome/browser/chromeos/policy/wildcard_login_checker.h b/chrome/browser/chromeos/policy/wildcard_login_checker.h
index e4f9d118e31da153fbc65aeb906b462a6ca09405..2044181a43c55579666358749bf741e25d910af1 100644
--- a/chrome/browser/chromeos/policy/wildcard_login_checker.h
+++ b/chrome/browser/chromeos/policy/wildcard_login_checker.h
@@ -5,9 +5,10 @@
#ifndef CHROME_BROWSER_CHROMEOS_POLICY_WILDCARD_LOGIN_CHECKER_H_
#define CHROME_BROWSER_CHROMEOS_POLICY_WILDCARD_LOGIN_CHECKER_H_
+#include <memory>
+
#include "base/callback.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/time/time.h"
#include "components/policy/core/common/cloud/user_info_fetcher.h"
#include "google_apis/gaia/google_service_auth_error.h"
@@ -67,8 +68,8 @@ class WildcardLoginChecker : public UserInfoFetcher::Delegate {
StatusCallback callback_;
- scoped_ptr<PolicyOAuth2TokenFetcher> token_fetcher_;
- scoped_ptr<UserInfoFetcher> user_info_fetcher_;
+ std::unique_ptr<PolicyOAuth2TokenFetcher> token_fetcher_;
+ std::unique_ptr<UserInfoFetcher> user_info_fetcher_;
base::Time start_timestamp_;
base::Time token_available_timestamp_;

Powered by Google App Engine
This is Rietveld 408576698