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

Unified Diff: components/policy/core/common/config_dir_policy_loader.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/common/config_dir_policy_loader.h
diff --git a/components/policy/core/common/config_dir_policy_loader.h b/components/policy/core/common/config_dir_policy_loader.h
index 7a9065c1fc1071d77c07e1d87c1751d6ab0dda7b..085f438f1d23d6312dffac29a6d046dac6e8b6d9 100644
--- a/components/policy/core/common/config_dir_policy_loader.h
+++ b/components/policy/core/common/config_dir_policy_loader.h
@@ -32,7 +32,7 @@ class POLICY_EXPORT ConfigDirPolicyLoader : public AsyncPolicyLoader {
// AsyncPolicyLoader implementation.
void InitOnBackgroundThread() override;
- scoped_ptr<PolicyBundle> Load() override;
+ std::unique_ptr<PolicyBundle> Load() override;
base::Time LastModificationTime() override;
private:

Powered by Google App Engine
This is Rietveld 408576698