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

Unified Diff: components/policy/core/browser/browser_policy_connector.h

Issue 1902633006: Convert //components/policy from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments and use namespace alias 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: components/policy/core/browser/browser_policy_connector.h
diff --git a/components/policy/core/browser/browser_policy_connector.h b/components/policy/core/browser/browser_policy_connector.h
index 774d4fdf964138a5ea285a4f9373373ff2c7a785..1730b4a3f78f252b38285e4a15888c2bafad484a 100644
--- a/components/policy/core/browser/browser_policy_connector.h
+++ b/components/policy/core/browser/browser_policy_connector.h
@@ -69,12 +69,12 @@ class POLICY_EXPORT BrowserPolicyConnector : public BrowserPolicyConnectorBase {
// Helper for the public Init() that must be called by subclasses.
void InitInternal(
PrefService* local_state,
- scoped_ptr<DeviceManagementService> device_management_service);
+ std::unique_ptr<DeviceManagementService> device_management_service);
private:
- scoped_ptr<PolicyStatisticsCollector> policy_statistics_collector_;
+ std::unique_ptr<PolicyStatisticsCollector> policy_statistics_collector_;
- scoped_ptr<DeviceManagementService> device_management_service_;
+ std::unique_ptr<DeviceManagementService> device_management_service_;
DISALLOW_COPY_AND_ASSIGN(BrowserPolicyConnector);
};

Powered by Google App Engine
This is Rietveld 408576698