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

Unified Diff: chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos.cc

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/user_cloud_policy_manager_chromeos.cc
diff --git a/chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos.cc b/chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos.cc
index 8fa1b39e51f83eec3da46f3f08f077069fd1488b..47ec950785316cc0ed5127fcf8d542c8deac9da7 100644
--- a/chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos.cc
+++ b/chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos.cc
@@ -82,8 +82,8 @@ void OnWildcardCheckCompleted(const std::string& username,
} // namespace
UserCloudPolicyManagerChromeOS::UserCloudPolicyManagerChromeOS(
- scoped_ptr<CloudPolicyStore> store,
- scoped_ptr<CloudExternalDataManager> external_data_manager,
+ std::unique_ptr<CloudPolicyStore> store,
+ std::unique_ptr<CloudExternalDataManager> external_data_manager,
const base::FilePath& component_policy_cache_path,
bool wait_for_policy_fetch,
base::TimeDelta initial_policy_fetch_timeout,
@@ -139,7 +139,7 @@ void UserCloudPolicyManagerChromeOS::Connect(
request_context = new SystemPolicyRequestContext(
system_request_context, GetUserAgent());
}
- scoped_ptr<CloudPolicyClient> cloud_policy_client(new CloudPolicyClient(
+ std::unique_ptr<CloudPolicyClient> cloud_policy_client(new CloudPolicyClient(
std::string(), std::string(), kPolicyVerificationKeyHash,
device_management_service, request_context));
CreateComponentCloudPolicyService(component_policy_cache_path_,

Powered by Google App Engine
This is Rietveld 408576698