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

Unified Diff: chrome/browser/chromeos/policy/policy_cert_service_factory.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/policy_cert_service_factory.h
diff --git a/chrome/browser/chromeos/policy/policy_cert_service_factory.h b/chrome/browser/chromeos/policy/policy_cert_service_factory.h
index f5f01822af9928c459306fe25867fecba5607a4d..1a135ef6f9c1a8dbd4b920ced8994f87688e3c8c 100644
--- a/chrome/browser/chromeos/policy/policy_cert_service_factory.h
+++ b/chrome/browser/chromeos/policy/policy_cert_service_factory.h
@@ -5,11 +5,11 @@
#ifndef CHROME_BROWSER_CHROMEOS_POLICY_POLICY_CERT_SERVICE_FACTORY_H_
#define CHROME_BROWSER_CHROMEOS_POLICY_POLICY_CERT_SERVICE_FACTORY_H_
+#include <memory>
#include <string>
#include "base/compiler_specific.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "components/keyed_service/content/browser_context_keyed_service_factory.h"
namespace base {
@@ -39,7 +39,7 @@ class PolicyCertServiceFactory : public BrowserContextKeyedServiceFactory {
// incognito profile.
// Note: NetworkConfigurationUpdater is currently only created for the primary
// user's profile.
- static scoped_ptr<PolicyCertVerifier> CreateForProfile(Profile* profile);
+ static std::unique_ptr<PolicyCertVerifier> CreateForProfile(Profile* profile);
static PolicyCertServiceFactory* GetInstance();
« no previous file with comments | « chrome/browser/chromeos/policy/policy_cert_service.cc ('k') | chrome/browser/chromeos/policy/policy_cert_service_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698